summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-09 21:06:46 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-09 21:06:46 +0100
commitaf428fa781e72c711ff446ad25402c66768c0333 (patch)
treec9bf45d366337eb18b291ef5acda97833b3d73aa /module/plugins
parentFix some plugins name (diff)
downloadpyload-af428fa781e72c711ff446ad25402c66768c0333.tar.xz
[BasePlugin] Fix typo
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/BasePlugin.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py
index 32ba7094a..4113ff42a 100644
--- a/module/plugins/hoster/BasePlugin.py
+++ b/module/plugins/hoster/BasePlugin.py
@@ -13,7 +13,7 @@ from module.plugins.Hoster import Hoster
class BasePlugin(Hoster):
__name__ = "BasePlugin"
__type__ = "hoster"
- __version__ = "0.27"
+ __version__ = "0.28"
__pattern__ = r'^unmatchable$'
@@ -72,9 +72,9 @@ class BasePlugin(Hoster):
else:
self.fail(_("No file downloaded")) #@TODO: Move to hoster class in 0.4.10
- check = self.checkDownload('empty file': re.compile(r'\A\Z'),
- 'html file' : re.compile(r'\A\s*<!DOCTYPE html'),
- 'html error': re.compile(r'\A\s*(<.+>)?\d{3}(\Z|\s+)')}):
+ check = self.checkDownload({'empty file': re.compile(r'\A\Z'),
+ 'html file' : re.compile(r'\A\s*<!DOCTYPE html'),
+ 'html error': re.compile(r'\A\s*(<.+>)?\d{3}(\Z|\s+)')}):
if check:
self.fail(check.capitalize())