summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/UploadedTo.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-18 22:39:07 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-18 22:39:07 +0200
commitab22498f73ba6376d0242c4f0a706b312cf6cdb6 (patch)
treed8d9e3051e5e8048157c852c7412d7ca0d4ffee6 /module/plugins/accounts/UploadedTo.py
parentfixes, missing file (diff)
downloadpyload-ab22498f73ba6376d0242c4f0a706b312cf6cdb6.tar.xz
account fixes
Diffstat (limited to 'module/plugins/accounts/UploadedTo.py')
-rw-r--r--module/plugins/accounts/UploadedTo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py
index 764cc50be..1311ee809 100644
--- a/module/plugins/accounts/UploadedTo.py
+++ b/module/plugins/accounts/UploadedTo.py
@@ -36,7 +36,7 @@ class UploadedTo(Account):
if account[0] == user:
data = account[1]
if not data:
- return
+ raise Exception
req = self.core.requestFactory.getRequest(self.__name__, user)
html = req.load("http://uploaded.to/", cookies=True)
raw_traffic = re.search(r"Traffic left: </span><span class=.*?>(.*?)</span>", html).group(1)