Skip to content

Commit

Permalink
Fixed initial config file generation
Browse files Browse the repository at this point in the history
  • Loading branch information
thnikk committed Dec 5, 2024
1 parent ed7e43d commit 9b86672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ def load(path):
"interval": 300
},
"network": {
"always_show": True,
"always_show": true
}
}
}"""
with open(f"{config_path}/config.json", 'w', encoding='utf-8') as file:
file.write(json.dumps(default_config, indent=4))
file.write(default_config)
return default_config
with open(
os.path.expanduser(f'{config_path}/config.json'),
Expand Down

0 comments on commit 9b86672

Please sign in to comment.