summaryrefslogtreecommitdiffstats
path: root/Plugins/RapidshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/RapidshareCom.py')
-rw-r--r--Plugins/RapidshareCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/RapidshareCom.py b/Plugins/RapidshareCom.py
index 20423197b..4eb7bf93d 100644
--- a/Plugins/RapidshareCom.py
+++ b/Plugins/RapidshareCom.py
@@ -130,7 +130,7 @@ class RapidshareCom(Plugin):
file_url_pattern = r".*name=\"dlf\" action=\"(.*)\" method=.*"
return re.search(file_url_pattern, self.html[1]).group(1)
else:
- return False
+ raise Exception, "Error when retrieving download url"
def get_file_name(self):
if self.html[0] == None: