diff options
author | 2015-07-19 10:59:52 +0200 | |
---|---|---|
committer | 2015-07-19 10:59:52 +0200 | |
commit | ff9383bfe06d14d23bc0ed6af79aa8967965d078 (patch) | |
tree | 78a09f0c47eb392d6ca3c8bf948dc9a99709861b /module/plugins/accounts/DepositfilesCom.py | |
parent | Fix addons (diff) | |
download | pyload-ff9383bfe06d14d23bc0ed6af79aa8967965d078.tar.xz |
Code cosmetics (3)
Diffstat (limited to 'module/plugins/accounts/DepositfilesCom.py')
-rw-r--r-- | module/plugins/accounts/DepositfilesCom.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/DepositfilesCom.py b/module/plugins/accounts/DepositfilesCom.py index 7c60682c0..8340a26d3 100644 --- a/module/plugins/accounts/DepositfilesCom.py +++ b/module/plugins/accounts/DepositfilesCom.py @@ -24,14 +24,14 @@ class DepositfilesCom(Account): validuntil = time.mktime(time.strptime(validuntil, "%Y-%m-%d %H:%M:%S")) - return {"validuntil": validuntil, "trafficleft": -1} + return {'validuntil': validuntil, 'trafficleft': -1} def login(self, user, data, req): html = self.load("https://dfiles.eu/de/login.php", - get={"return": "/de/gold/payment.php"}, - post={"login" : user, - "password": data['password']}) + get={'return': "/de/gold/payment.php"}, + post={'login' : user, + 'password': data['password']}) if r'<div class="error_message">Sie haben eine falsche Benutzername-Passwort-Kombination verwendet.</div>' in html: self.wrong_password() |