summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-02-14 17:35:14 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2011-02-14 17:35:14 +0100
commitb06712803b73db3d04657e699ce17a3668151ae0 (patch)
treea233514be627c6d8a3b2a2abe4c03b3163ad1c1e /module/plugins
parentfixes, docstring update for gui (diff)
downloadpyload-b06712803b73db3d04657e699ce17a3668151ae0.tar.xz
really fixed #201
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/NetloadIn.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py
index c952f2c19..b99694774 100644
--- a/module/plugins/hoster/NetloadIn.py
+++ b/module/plugins/hoster/NetloadIn.py
@@ -138,8 +138,8 @@ class NetloadIn(Hoster):
t = time() + 30
if "/share/templates/download_hddcrash.tpl" in page:
+ self.log.error("Netload HDD Crash")
self.fail(_("File temporarily not available"))
- self.log.debug("Netload HDD Crash")
if not self.api_data:
self.log.debug("API Data may be useless, get details from html page")
@@ -157,6 +157,10 @@ class NetloadIn(Hoster):
page = self.load(self.url)
t = time() + 30
+ if "/share/templates/download_hddcrash.tpl" in page:
+ self.log.error("Netload HDD Crash")
+ self.fail(_("File temporarily not available"))
+
self.log.debug("Netload: try number %d " % i)
if self.getConf('dumpgen'):
print page