diff options
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() |