Commit 9ad20589 authored by Aleksandra Mnich's avatar Aleksandra Mnich
Browse files

[SIGMON-356] f-strings

parent 08a2363d
Pipeline #4155080 failed with stages
in 9 minutes and 30 seconds
......@@ -146,7 +146,7 @@ class RqFgcPmFindButtonBaseModule(FgcPmFindButtonBaseModule):
start_time_temp = Time.to_unix_timestamp(start_time) + int(day * event_duration_nsec)
# Update GUI
self.lbl_search.value = 'Querying PM for FGC entries on {}'.format(Time.to_string(start_time_temp))
self.lbl_search.value = f'Querying PM for FGC entries on {Time.to_string(start_time_temp)}'
source_timestamp_fgc += PmDbRequest.find_events(metadata_fgc_rqd['source'],
metadata_fgc_rqd['system'],
......@@ -158,7 +158,7 @@ class RqFgcPmFindButtonBaseModule(FgcPmFindButtonBaseModule):
if remainder > 0:
start_time_temp = Time.to_unix_timestamp(end_time) - remainder
self.lbl_search.value = 'Querying PM for FGC entries on {}'.format(Time.to_string(start_time_temp))
self.lbl_search.value = f'Querying PM for FGC entries on {Time.to_string(start_time_temp)}'
source_timestamp_fgc += PmDbRequest.find_events(metadata_fgc_rqd['source'],
metadata_fgc_rqd['system'],
metadata_fgc_rqd['className'],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment