summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyload/setup/Setup.py4
-rw-r--r--pyload/web/setup_app.py2
2 files changed, 6 insertions, 0 deletions
diff --git a/pyload/setup/Setup.py b/pyload/setup/Setup.py
index cea960885..c61a389e2 100644
--- a/pyload/setup/Setup.py
+++ b/pyload/setup/Setup.py
@@ -304,6 +304,10 @@ class Setup():
self.db.syncSave()
self.db.shutdown()
+ def save(self):
+ self.config.save()
+ self.closeDB()
+
def conf_path(self, trans=False):
if trans:
gettext.setpaths([join(os.sep, "usr", "share", "pyload", "locale"), None])
diff --git a/pyload/web/setup_app.py b/pyload/web/setup_app.py
index 680c5ae89..939fcb600 100644
--- a/pyload/web/setup_app.py
+++ b/pyload/web/setup_app.py
@@ -65,6 +65,8 @@ def setup_done():
request.params['password']
)
+ SETUP.save()
+
# mark setup as finished
timestamp = 0