diff options
author | 2015-06-17 18:59:20 +0200 | |
---|---|---|
committer | 2015-06-24 22:42:40 +0200 | |
commit | 20b6a2ec022202b0efb6cb69415239fb8f4d1445 (patch) | |
tree | fdbb3ad42854144b1cace0221145a472b36ef84d /module/plugins/accounts/SmoozedCom.py | |
parent | Spare code cosmetics (diff) | |
download | pyload-20b6a2ec022202b0efb6cb69415239fb8f4d1445.tar.xz |
Spare code cosmetics (2)
Diffstat (limited to 'module/plugins/accounts/SmoozedCom.py')
-rw-r--r-- | module/plugins/accounts/SmoozedCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/SmoozedCom.py b/module/plugins/accounts/SmoozedCom.py index da81a6b80..148818957 100644 --- a/module/plugins/accounts/SmoozedCom.py +++ b/module/plugins/accounts/SmoozedCom.py @@ -43,7 +43,7 @@ class SmoozedCom(Account): 'trafficleft': None, 'premium' : False} else: - # Parse account info + #: Parse account info info = {'validuntil' : float(status["data"]["user"]["user_premium"]), 'trafficleft': max(0, status["data"]["traffic"][1] - status["data"]["traffic"][0]), 'session' : status["data"]["session_key"], @@ -61,10 +61,10 @@ class SmoozedCom(Account): def login(self, user, data, req): - # Get user data from premiumize.me + #: Get user data from premiumize.me status = self.getAccountStatus(user, req) - # Check if user and password are valid + #: Check if user and password are valid if status['state'] != 'ok': self.wrongPassword() |