summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Koch Michael <charlie8913@gmail.com> 2014-05-31 22:14:40 +0200
committerGravatar Koch Michael <charlie8913@gmail.com> 2014-05-31 22:14:40 +0200
commit89c4db2674a289feea3c58de472385714d0ab5f8 (patch)
tree01b387e02a63ae9da6080fbc57d867fe4cfd27e8
parentfixed downloads (diff)
downloadpyload-89c4db2674a289feea3c58de472385714d0ab5f8.tar.xz
Fix wrong value for 'Traffic Left' for hoster UploadedTo
-rw-r--r--pyload/plugins/accounts/UploadedTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/accounts/UploadedTo.py b/pyload/plugins/accounts/UploadedTo.py
index 02f31c544..84283ee54 100644
--- a/pyload/plugins/accounts/UploadedTo.py
+++ b/pyload/plugins/accounts/UploadedTo.py
@@ -25,7 +25,7 @@ from module.plugins.Account import Account
class UploadedTo(Account):
__name__ = "UploadedTo"
- __version__ = "0.26"
+ __version__ = "0.27"
__type__ = "account"
__description__ = """Uploaded.to account plugin"""
__author_name__ = "mkaay"
@@ -42,7 +42,7 @@ class UploadedTo(Account):
raw_traffic = re.search(r'<th colspan="2"><b class="cB">([^<]+)', html).group(1).replace('.', '')
raw_valid = re.search(r"<td>Duration:</td>\s*<th>([^<]+)", html, re.MULTILINE).group(1).strip()
- traffic = int(self.parseTraffic(raw_traffic))
+ traffic = int(self.parseTraffic(raw_traffic)) * 1024
if raw_valid == "unlimited":
validuntil = -1