diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/gui/SettingsWidget.py | 4 | ||||
-rw-r--r-- | module/gui/connector.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/NetloadIn.py | 4 |
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() |