From 6a5b13502648cf51007c15948b778e5a9d54ad20 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 28 Oct 2014 04:52:39 +0100 Subject: [SimpleCrypter][SimpleHoster] Fix typo in _error method call --- module/plugins/internal/SimpleCrypter.py | 4 ++-- module/plugins/internal/SimpleHoster.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'module') 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) -- cgit v1.2.3