[25] fix for #1864

This commit is contained in:
meisnate12 2024-02-02 11:35:28 -05:00
parent 94ce807450
commit 9eeede4af1
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
1.20.0-develop24
1.20.0-develop25

View file

@ -918,7 +918,7 @@ class ConfigFile:
default_path = os.path.join(default_dir, f"{str(library_name)}_Metadata_Backup.yml")
if "path" not in input_dict:
logger.warning(f"Config Warning: path attribute not found using default: {default_path}")
if "path" in input_dict and not input_dict["path"]:
elif "path" in input_dict and not input_dict["path"]:
logger.warning(f"Config Warning: path attribute blank using default: {default_path}")
else:
default_path = input_dict["path"]