diff options
| author | 2015-04-20 22:48:30 +0200 | |
|---|---|---|
| committer | 2015-04-20 23:02:00 +0200 | |
| commit | 5a86c3cb1db6cd87bf9ae22e09dd209cecc0a363 (patch) | |
| tree | d5fbe979c043f5aa684272c97c0305d3124b1901 /pyload/plugin/account/AlldebridCom.py | |
| parent | PEP-8, Python Zen, refactor and reduce code (part 12 in master module/remote/... (diff) | |
| download | pyload-5a86c3cb1db6cd87bf9ae22e09dd209cecc0a363.tar.xz | |
Spare code cosmetics (8)
Diffstat (limited to 'pyload/plugin/account/AlldebridCom.py')
| -rw-r--r-- | pyload/plugin/account/AlldebridCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/account/AlldebridCom.py b/pyload/plugin/account/AlldebridCom.py index e3eb01ac2..efc5753f8 100644 --- a/pyload/plugin/account/AlldebridCom.py +++ b/pyload/plugin/account/AlldebridCom.py @@ -24,7 +24,7 @@ class AlldebridCom(Account): html = req.load("http://www.alldebrid.com/account/") soup = BeautifulSoup(html) - #Try to parse expiration date directly from the control panel page (better accuracy) + # Try to parse expiration date directly from the control panel page (better accuracy) try: time_text = soup.find('div', attrs={'class': 'remaining_time_text'}).strong.string @@ -35,7 +35,7 @@ class AlldebridCom(Account): exp_time = time.time() + int(exp_data[0]) * 24 * 60 * 60 + int( exp_data[1]) * 60 * 60 + (int(exp_data[2]) - 1) * 60 - #Get expiration date from API + # Get expiration date from API except Exception: data = self.getAccountData(user) html = req.load("http://www.alldebrid.com/api.php", |
