summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-28 04:52:39 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-28 04:52:39 +0100
commit6a5b13502648cf51007c15948b778e5a9d54ad20 (patch)
treeae265664380c8ecbb6e0896b73c1cb2d64fe116f /module
parentImprove debug logging in load/download method (diff)
downloadpyload-6a5b13502648cf51007c15948b778e5a9d54ad20.tar.xz
[SimpleCrypter][SimpleHoster] Fix typo in _error method call
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/SimpleCrypter.py4
-rw-r--r--module/plugins/internal/SimpleHoster.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py
index 50d647dee..2fa0c2df3 100644
--- a/module/plugins/internal/SimpleCrypter.py
+++ b/module/plugins/internal/SimpleCrypter.py
@@ -14,7 +14,7 @@ from module.utils import fixup, html_unescape
class SimpleCrypter(Crypter):
__name__ = "SimpleCrypter"
__type__ = "crypter"
- __version__ = "0.20"
+ __version__ = "0.21"
__pattern__ = None
__config__ = [("use_subfolder", "bool", "Save package to subfolder", True), #: Overrides core.config['general']['folder_per_package']
@@ -165,4 +165,4 @@ class SimpleCrypter(Crypter):
def error(self, reason="", type="parse"):
- return _error(reason, type)
+ return _error(self, reason, type)
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index 3d2bcda86..e0b31416a 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -159,7 +159,7 @@ def timestamp():
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "0.42"
+ __version__ = "0.43"
__pattern__ = None
@@ -348,4 +348,4 @@ class SimpleHoster(Hoster):
def error(self, reason="", type="parse"):
- return _error(reason, type)
+ return _error(self, reason, type)