store last used adjuster settings and use them for patching

might use them as gui defaults later
This commit is contained in:
Fabian Dill
2020-04-26 15:14:30 +02:00
parent f380542bab
commit 56e57de574
6 changed files with 49 additions and 19 deletions

View File

@@ -221,7 +221,7 @@ def persistent_store(category, key, value):
f.write(dump(storage))
def persistent_load():
def persistent_load() -> typing.Dict[dict]:
path = local_path("_persistent_storage.yaml")
storage: dict = {}
if os.path.exists(path):