summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-08 21:26:17 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-08 21:26:17 +0200
commita8c8ace5ee4868f58067c8af30ea5702a2434999 (patch)
treee4d4d9f3f0783b0c0f0dfcb3b0411330e28ee241 /module/plugins
parentFix https://github.com/pyload/pyload/issues/1464 (diff)
downloadpyload-a8c8ace5ee4868f58067c8af30ea5702a2434999.tar.xz
Fix https://github.com/pyload/pyload/issues/1467
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/internal/SimpleHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index 38e2641c9..78d30be91 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -239,7 +239,7 @@ def secondsToMidnight(gmt=0):
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "1.61"
+ __version__ = "1.62"
__pattern__ = r'^unmatchable$'
__config__ = [("use_premium", "bool", "Use premium account if available" , True),
@@ -592,7 +592,7 @@ class SimpleHoster(Hoster):
("Size limit" , "SIZE_LIMIT_PATTERN" ),
("Error" , "ERROR_PATTERN" ),
("Premium only" , "PREMIUM_ONLY_PATTERN"),
- ("Wait error" , "WAIT_PATTERN" ))]
+ ("Wait error" , "WAIT_PATTERN" )) if hasattr(self, a)]
self.FILE_ERRORS.extend(rules)
for r, p in self.FILE_ERRORS: