Skip to content

Commit

Permalink
remove : from file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
fischer-hub authored Sep 13, 2024
1 parent 110fd08 commit 5c95ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def save_config(config):
confighome = get_config_home()

configfile = os.path.join(confighome, 'config.yaml')
new_savefile = os.path.join(confighome, f"{str(datetime.datetime.now()).replace(' ', '_')}.slay")
new_savefile = os.path.join(confighome, f"{str(datetime.datetime.now()).replace(' ', '_').replace(':', '_')}.slay")
savefile = savegame['savefile'] if 'savefile' in savegame else new_savefile

with open(configfile, 'w') as file:
Expand Down

0 comments on commit 5c95ed2

Please sign in to comment.