summaryrefslogtreecommitdiffstats
path: root/pyload/setup
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-10-08 21:56:15 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-10-08 21:56:15 +0200
commit0fcf06b8e23f1fa55b5b484235ffe45019e669e0 (patch)
treec904a552df26e90919bea4736439d84e4201f1a3 /pyload/setup
parentadapter simplecrypter plugin (diff)
downloadpyload-0fcf06b8e23f1fa55b5b484235ffe45019e669e0.tar.xz
save config when setup is finished
Diffstat (limited to 'pyload/setup')
-rw-r--r--pyload/setup/Setup.py4
1 files changed, 4 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])