Utilize f-string

This commit is contained in:
Michal Čihař 2020-12-30 13:44:03 +01:00
parent d8a43642cb
commit e19dd7da3b

View file

@ -111,7 +111,7 @@ else:
users[username] = source.get_user(username) users[username] = source.get_user(username)
for i in range(config["rt_start"], config["rt_end"]): for i in range(config["rt_start"], config["rt_end"]):
print("Loading ticket {}".format(i)) print(f"Loading ticket {i}")
ticket = source.get_ticket(i) ticket = source.get_ticket(i)
if ticket is None: if ticket is None:
break break