summaryrefslogtreecommitdiffstats
path: root/module/gui
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-07-26 23:32:40 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2011-07-26 23:32:40 +0200
commit25b5d9df7d8c2132f767c12d4bdd7c58325fb84e (patch)
tree7da842ec54334c689fa3dca52ced87ca720e6925 /module/gui
parentnew locale (diff)
downloadpyload-25b5d9df7d8c2132f767c12d4bdd7c58325fb84e.tar.xz
fixed gui startup
Diffstat (limited to 'module/gui')
-rw-r--r--module/gui/SettingsWidget.py4
-rw-r--r--module/gui/connector.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/module/gui/SettingsWidget.py b/module/gui/SettingsWidget.py
index 0f8a9c88e..c50130b5c 100644
--- a/module/gui/SettingsWidget.py
+++ b/module/gui/SettingsWidget.py
@@ -79,11 +79,11 @@ class SettingsWidget(QWidget):
self.data = self.connector.getConfig()
self.pdata = self.connector.getPluginConfig()
- for k, section in enumerate(self.data):
+ for k, section in self.data.iteritems():
s = Section(section, general)
self.sections[k] = s
- for k, section in enumerate(self.pdata):
+ for k, section in self.pdata.iteritems():
s = Section(section, plugins, "plugin")
self.psections[k] = s
diff --git a/module/gui/connector.py b/module/gui/connector.py
index e4a47cc8c..8d2292aa3 100644
--- a/module/gui/connector.py
+++ b/module/gui/connector.py
@@ -16,7 +16,7 @@
@author: mkaay
"""
-SERVER_VERSION = "0.4.6"
+SERVER_VERSION = "0.4.6-dev"
from time import sleep
from uuid import uuid4 as uuid