Use constant instead of literal

This commit is contained in:
2022-09-30 17:48:53 +02:00
parent 7d78a52708
commit 9571da85e1

View File

@@ -76,7 +76,7 @@ def main():
# LOAD LAST GAME # LOAD LAST GAME
if os.path.isfile("save.json") and ui.query_yes_no("Letztes Spiel laden? (save.json)"): if os.path.isfile(SAVE_FILE) and ui.query_yes_no(f"Letztes Spiel laden? ({SAVE_FILE})"):
with open(SAVE_FILE, "r") as file: with open(SAVE_FILE, "r") as file:
save = json.load(file) save = json.load(file)
players = save["players"] players = save["players"]