mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
fix settings import
This commit is contained in:
parent
97861b4c6c
commit
17b00055fb
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ class ImportDatabase:
|
||||||
with open(settings_file, "r") as f:
|
with open(settings_file, "r") as f:
|
||||||
settings: dict = json.loads(f.read())
|
settings: dict = json.loads(f.read())
|
||||||
|
|
||||||
db.settings.update(self.session, settings)
|
db.settings.update(self.session, settings.get("name"), settings)
|
||||||
|
|
||||||
def clean_up(self):
|
def clean_up(self):
|
||||||
shutil.rmtree(TEMP_DIR)
|
shutil.rmtree(TEMP_DIR)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue