✨ Embedded cover dimensions can be changed in settings. Fixes #15.

This commit is contained in:
Robert Honz
2024-01-12 08:10:31 +01:00
parent d3fd384ae9
commit 1f89ce4279
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -36,7 +36,10 @@ class BaseConfig:
result = True
except (JSONDecodeError, TypeError, FileNotFoundError):
self.data = self.cls_model()
self.save()
# Call save in case of we need to update the saved config, due to changes in code.
# TODO: Compare if config in memory and on disk is different. Otherwise no write operation.
self.save()
return result