Fix saving settings
This commit is contained in:
parent
fab30f3f29
commit
acb59f9e83
@ -104,7 +104,8 @@ def save_file(
|
||||
filename: A pathlib.Path object to save the json dictionary to
|
||||
"""
|
||||
file_options = settngs.clean_config(config, file=True)
|
||||
file_options["Quick Tag"]["url"] = str(file_options["Quick Tag"]["url"])
|
||||
if "Quick Tag" in file_options and "url" in file_options["Quick Tag"]:
|
||||
file_options["Quick Tag"]["url"] = str(file_options["Quick Tag"]["url"])
|
||||
|
||||
try:
|
||||
if not filename.exists():
|
||||
|
Loading…
Reference in New Issue
Block a user