summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-18 08:24:00 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-18 08:24:00 +0200
commit623b63aa5449232738b938aff83e4d693750f4f7 (patch)
treeff6e43dad94047d5110d209420e7ff916b2009e9 /module
parentSpare plugins updates (diff)
downloadpyload-623b63aa5449232738b938aff83e4d693750f4f7.tar.xz
[SimpleHoster] Fix https://github.com/pyload/pyload/issues/1421
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/SimpleHoster.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index 27327c918..fddd6b677 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -244,7 +244,7 @@ def secondsToMidnight(gmt=0):
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "1.43"
+ __version__ = "1.44"
__pattern__ = r'^unmatchable$'
__config__ = [("use_premium", "bool", "Use premium account if available" , True),
@@ -583,7 +583,7 @@ class SimpleHoster(Hoster):
except Exception:
errmsg = m.group(0).strip()
- self.logWarning(re.sub(r'<.*?>', " ", self.errmsg))
+ self.logWarning(re.sub(r'<.*?>', " ", errmsg))
self.info['error'] = errmsg
if re.search('da(il)?y|today', errmsg, re.I):
@@ -606,7 +606,7 @@ class SimpleHoster(Hoster):
except Exception:
errmsg = m.group(0).strip()
- self.logWarning(re.sub(r'<.*?>', " ", self.errmsg))
+ self.logWarning(re.sub(r'<.*?>', " ", errmsg))
self.info['error'] = errmsg
if re.search('limit|wait', errmsg, re.I):