From 22fdeab1d25c7cec2eac505d3ed5b9aa61071632 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 3 Mar 2025 15:10:53 +0100 Subject: [PATCH] lala --- omv_backup_v3.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: