summaryrefslogtreecommitdiffstats
path: root/module/plugins/RapidshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/RapidshareCom.py')
-rw-r--r--module/plugins/RapidshareCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/RapidshareCom.py b/module/plugins/RapidshareCom.py
index e2602bdd6..476348cca 100644
--- a/module/plugins/RapidshareCom.py
+++ b/module/plugins/RapidshareCom.py
@@ -91,7 +91,7 @@ class RapidshareCom(Plugin):
api_param["files"] = m.group(1)
api_param["filenames"] = m.group(2)
src = self.req.load(api_url_base, cookies=False, get=api_param)
- if not src.find("ERROR"):
+ if src.startswith("ERROR"):
return
fields = src.split(",")
self.api_data = {}