diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-08-02 08:56:00 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-08-02 08:56:00 +0200 |
commit | fd2b928c08f0e1d1c54096696ef75bf899557db8 (patch) | |
tree | a8289c3833072f8a782336d0fc12cb336f612038 | |
parent | Fix https://github.com/pyload/pyload/issues/1590 (diff) | |
download | pyload-fd2b928c08f0e1d1c54096696ef75bf899557db8.tar.xz |
Fix https://github.com/pyload/pyload/issues/1649
-rw-r--r-- | module/plugins/internal/Extractor.py | 3 | ||||
-rw-r--r-- | module/plugins/internal/OCR.py | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/module/plugins/internal/Extractor.py b/module/plugins/internal/Extractor.py index 7d1f9ced5..7f5212090 100644 --- a/module/plugins/internal/Extractor.py +++ b/module/plugins/internal/Extractor.py @@ -22,7 +22,7 @@ class PasswordError(Exception): class Extractor(Plugin): __name__ = "Extractor" __type__ = "extractor" - __version__ = "0.32" + __version__ = "0.33" __status__ = "testing" __description__ = """Base extractor plugin""" @@ -88,6 +88,7 @@ class Extractor(Plugin): """ self._init(plugin.pyload) + self.plugin = plugin self.filename = filename self.out = out self.fullpath = fullpath diff --git a/module/plugins/internal/OCR.py b/module/plugins/internal/OCR.py index a9982b076..b24b3058b 100644 --- a/module/plugins/internal/OCR.py +++ b/module/plugins/internal/OCR.py @@ -21,7 +21,7 @@ from module.utils import save_join as fs_join class OCR(Plugin): __name__ = "OCR" __type__ = "ocr" - __version__ = "0.18" + __version__ = "0.19" __status__ = "testing" __description__ = """OCR base plugin""" @@ -30,7 +30,9 @@ class OCR(Plugin): def __init__(self, plugin): - super(OCR, self).__init__(plugin.pyload) + self._init(plugin.pyload) + self.plugin = plugin + self.init() def init(self): |