Skip to content
Snippets Groups Projects
Commit 57388ee1 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Fix pyright warning

parent 5d18529f
No related branches found
No related tags found
1 merge request!1First try of type hints
......@@ -65,8 +65,7 @@ def load_cfg_or_die(app_name: str) -> ConfigObj:
def new_cfg(app_name: str) -> ConfigObj:
filename = get_cfg_filename(app_name)
cfg = ConfigObj(filename, indent_type=" ")
cfg['config'] = {}
cfg['config']['addr'] = get_random_uuid().str
cfg['config'] = {'addr' : get_random_uuid().str}
return cfg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment