diff --git a/omv_backup_v3.py b/omv_backup_v3.py index b2c0d9b..5d181df 100644 --- a/omv_backup_v3.py +++ b/omv_backup_v3.py @@ -321,13 +321,14 @@ if _RESTORE: # Modify the fields from the dict #loaded['logo']['icon'] = "/images/morefine2.png" print(json.dumps(loaded, indent=2)) - loaded[2]['logo']['icon'] = "/images/qnap_nas.png" + loaded[2]['logo']['icon'] = "/images/qnap_nas1.png" # Save it again with open(file, 'w') as stream: try: yaml.dump(loaded, stream, default_flow_style=False) except yaml.YAMLError as exc: + print("failed") print(exc) if _TEST: