summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/RapidshareCom.py')
-rw-r--r--module/plugins/hoster/RapidshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index f2fd3661c..8e1e65ee2 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -131,13 +131,13 @@ class RapidshareCom(Hoster):
content = f.read()
f.close()
if "You need RapidPro to download more files from your IP address" in content:
- remove(f)
+ remove(dl)
self.setWait(60)
self.log.info(_("Already downloading from this ip address, waiting 60 seconds"))
self.wait()
self.handleFree()
elif "Download auth invalid" in content:
- remove(f)
+ remove(dl)
self.log.info(_("Invalid Auth Code, download will be restarted"))
self.offset += 5
self.handleFree()