Skip to content

Commit

Permalink
fix f-string usage for Python 3.11 and earlier
Browse files Browse the repository at this point in the history
Nested double quotes in f-strings are only supported in Python 3.12 and
later.
  • Loading branch information
pastalian committed Dec 17, 2024
1 parent 9473eac commit 953bc57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nwg_shell_config/locker.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def load_wallhaven_image(path):
image_url = image_data["data"][0]["path"]

for key in image_data["data"][0]:
print(f"{key}: {image_data["data"][0][key]}")
print(f"{key}: {image_data['data'][0][key]}")

# Download the image
image_response = requests.get(image_url)
Expand Down

0 comments on commit 953bc57

Please sign in to comment.