This commit is contained in:
2025-03-03 15:11:47 +01:00
parent 22fdeab1d2
commit 1c3468f742

View File

@ -324,6 +324,7 @@ if _RESTORE:
loaded[2]['logo']['icon'] = "/images/qnap_nas1.png"
# Save it again
print(f"writing to file {file}")
with open(file, 'w') as stream:
try:
yaml.dump(loaded, stream, default_flow_style=False)