diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-19 10:59:52 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-19 10:59:52 +0200 |
commit | ff9383bfe06d14d23bc0ed6af79aa8967965d078 (patch) | |
tree | 78a09f0c47eb392d6ca3c8bf948dc9a99709861b /module/plugins/accounts/MyfastfileCom.py | |
parent | Fix addons (diff) | |
download | pyload-ff9383bfe06d14d23bc0ed6af79aa8967965d078.tar.xz |
Code cosmetics (3)
Diffstat (limited to 'module/plugins/accounts/MyfastfileCom.py')
-rw-r--r-- | module/plugins/accounts/MyfastfileCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/MyfastfileCom.py b/module/plugins/accounts/MyfastfileCom.py index 8303c1b52..160a354d0 100644 --- a/module/plugins/accounts/MyfastfileCom.py +++ b/module/plugins/accounts/MyfastfileCom.py @@ -19,7 +19,7 @@ class MyfastfileCom(Account): def load_account_info(self, user, req): if 'days_left' in self.json_data: validuntil = time.time() + self.json_data['days_left'] * 24 * 60 * 60 - return {"premium": True, "validuntil": validuntil, "trafficleft": -1} + return {'premium': True, 'validuntil': validuntil, 'trafficleft': -1} else: self.log_error(_("Unable to get account information")) @@ -27,8 +27,8 @@ class MyfastfileCom(Account): def login(self, user, data, req): #: Password to use is the API-Password written in http://myfastfile.com/myaccount html = self.load("https://myfastfile.com/api.php", - get={"user": user, - "pass": data['password']}) + get={'user': user, + 'pass': data['password']}) self.log_debug("JSON data: " + html) |