mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-07-01 23:58:33 +02:00
lala
This commit is contained in:
@ -327,7 +327,11 @@ if _RESTORE:
|
|||||||
# Modify the fields from the dict
|
# Modify the fields from the dict
|
||||||
#loaded['logo']['icon'] = "/images/morefine2.png"
|
#loaded['logo']['icon'] = "/images/morefine2.png"
|
||||||
print(json.dumps(loaded, indent=2))
|
print(json.dumps(loaded, indent=2))
|
||||||
loaded[2]['logo']['icon'] = "/images/qnap_nas.png"
|
i = 0
|
||||||
|
for y in loaded:
|
||||||
|
if "logo" in y:
|
||||||
|
loaded[i]['logo']['icon'] = "/images/qnap_nas.png"
|
||||||
|
i=+1
|
||||||
|
|
||||||
# Save it again
|
# Save it again
|
||||||
print(f"writing to file {file}")
|
print(f"writing to file {file}")
|
||||||
|
Reference in New Issue
Block a user