summaryrefslogtreecommitdiffstats
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
parentnew locale (diff)
downloadpyload-25b5d9df7d8c2132f767c12d4bdd7c58325fb84e.tar.xz
fixed gui startup
-rw-r--r--module/gui/SettingsWidget.py4
-rw-r--r--module/gui/connector.py2
-rw-r--r--module/plugins/hoster/NetloadIn.py4
3 files changed, 6 insertions, 4 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
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py
index 6ab0184a8..f9ea5f698 100644
--- a/module/plugins/hoster/NetloadIn.py
+++ b/module/plugins/hoster/NetloadIn.py
@@ -239,9 +239,11 @@ class NetloadIn(Hoster):
self.download(url, cookies=True)
- check = self.checkDownload({"empty": re.compile(r"^$")})
+ check = self.checkDownload({"empty": re.compile(r"^$"), "offline": re.compile("\* The file was deleted")})
if check == "empty":
self.log.info(_("Downloaded File was empty"))
self.retry()
+ else check == "offline":
+ self.offline()