diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2012-01-16 17:39:27 +0100 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2012-01-16 17:39:27 +0100 |
commit | 8b569a22d9a5b12cc492e97d4cee28deb75a81ed (patch) | |
tree | 0ae5aa425d2c917d2f11613fbb3a4e9c71efa36f /module/plugins/accounts/ShareonlineBiz.py | |
parent | additional extract logs (diff) | |
download | pyload-8b569a22d9a5b12cc492e97d4cee28deb75a81ed.tar.xz |
workaround premium4.me overcharging
Diffstat (limited to 'module/plugins/accounts/ShareonlineBiz.py')
-rw-r--r-- | module/plugins/accounts/ShareonlineBiz.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py index 967142204..426f5a6a9 100644 --- a/module/plugins/accounts/ShareonlineBiz.py +++ b/module/plugins/accounts/ShareonlineBiz.py @@ -23,7 +23,7 @@ import re class ShareonlineBiz(Account): __name__ = "ShareonlineBiz" - __version__ = "0.2" + __version__ = "0.21" __type__ = "account" __description__ = """share-online.biz account plugin""" __author_name__ = ("mkaay") @@ -33,8 +33,9 @@ class ShareonlineBiz(Account): src = req.load("http://api.share-online.biz/account.php?username=%s&password=%s&act=userDetails" % (user, self.accounts[user]["password"])) info = {} for line in src.splitlines(): - key, value = line.split("=") - info[key] = value + if "=" in line: + key, value = line.split("=") + info[key] = value return info def loadAccountInfo(self, user, req): |