diff options
author | Koch Michael <charlie8913@gmail.com> | 2014-06-01 20:50:34 +0200 |
---|---|---|
committer | Koch Michael <charlie8913@gmail.com> | 2014-06-01 20:50:34 +0200 |
commit | 0884b60890fce4b4e7641c0139a5e37d577a2c01 (patch) | |
tree | 29a53508ce29226074c2e0903278a0bca449dd7b | |
parent | Revert "Fix downloads on UploadedTo" (diff) | |
download | pyload-0884b60890fce4b4e7641c0139a5e37d577a2c01.tar.xz |
Revert "Merge branch 'fix-uploadedto'"
This reverts commit 78acb65ce09efdbdd9a3db2358b37ad26b965335, reversing
changes made to 85526434c8ee9947715f76cd4de99e6839e1470c.
-rw-r--r-- | pyload/plugins/accounts/UploadedTo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/accounts/UploadedTo.py b/pyload/plugins/accounts/UploadedTo.py index 84283ee54..02f31c544 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.27" + __version__ = "0.26" __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)) * 1024 + traffic = int(self.parseTraffic(raw_traffic)) if raw_valid == "unlimited": validuntil = -1 |