Use fstrings consistently

This commit is contained in:
kramo
2023-03-24 21:07:08 +01:00
parent a665241d76
commit 4401378ce3
3 changed files with 10 additions and 10 deletions

View File

@@ -142,7 +142,7 @@ def heroic_parser(parent_widget, action):
heroic_dir,
"images-cache",
hashlib.sha256(
(game["art_square"] + "?h=400&resize=1&w=300").encode()
(f'{game["art_square"]} ?h=400&resize=1&w=300').encode()
).hexdigest(),
)
if os.path.exists(image_path):