summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-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: