summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/EuroshareEu.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-22 20:50:34 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-22 21:20:06 +0200
commitaaaf5a4cddec894aacd7400c59a9f2f5e710362f (patch)
tree9d9e89aff86598b3ffcc86117abd554b193e28b5 /pyload/plugins/hoster/EuroshareEu.py
parentimplemented media type filter (diff)
downloadpyload-aaaf5a4cddec894aacd7400c59a9f2f5e710362f.tar.xz
Fixed PEP 8 violations in Hosters
(cherry picked from commit 2edeee0532ec6d6b4b26fd045a5971f67ca455da) Conflicts: pyload/plugins/hoster/BasePlugin.py pyload/plugins/hoster/MultishareCz.py pyload/plugins/hoster/NetloadIn.py pyload/plugins/hoster/PremiumizeMe.py pyload/plugins/hoster/RapidshareCom.py
Diffstat (limited to 'pyload/plugins/hoster/EuroshareEu.py')
-rw-r--r--pyload/plugins/hoster/EuroshareEu.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pyload/plugins/hoster/EuroshareEu.py b/pyload/plugins/hoster/EuroshareEu.py
index 5224dfd9f..03bec8bbd 100644
--- a/pyload/plugins/hoster/EuroshareEu.py
+++ b/pyload/plugins/hoster/EuroshareEu.py
@@ -19,6 +19,7 @@
import re
from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
+
class EuroshareEu(SimpleHoster):
__name__ = "EuroshareEu"
__type__ = "hoster"
@@ -48,8 +49,7 @@ class EuroshareEu(SimpleHoster):
self.download(self.pyfile.url.rstrip('/') + "/download/")
check = self.checkDownload({"login": re.compile(self.ERR_NOT_LOGGED_IN_PATTERN),
- "json": re.compile(r'\{"status":"error".*?"message":"(.*?)"')
- })
+ "json": re.compile(r'\{"status":"error".*?"message":"(.*?)"')})
if check == "login" or (check == "json" and self.lastCheck.group(1) == "Access token expired"):
self.account.relogin(self.user)
self.retry(reason="Access token expired")
@@ -71,4 +71,5 @@ class EuroshareEu(SimpleHoster):
if check == "multi_dl":
self.longWait(300, 12)
-getInfo = create_getInfo(EuroshareEu) \ No newline at end of file
+
+getInfo = create_getInfo(EuroshareEu)