diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-24 00:33:19 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-24 00:33:19 +0200 |
commit | 12cbb11279ebfa2f2945c5adb093b97924a8cfc3 (patch) | |
tree | 20b7962da4b6eee366ec3b67c24024385a617f20 /module/plugins/internal/OCR.py | |
parent | [Plugin] Another fix about page decoding (diff) | |
download | pyload-12cbb11279ebfa2f2945c5adb093b97924a8cfc3.tar.xz |
Small __init__ fixes
Diffstat (limited to 'module/plugins/internal/OCR.py')
-rw-r--r-- | module/plugins/internal/OCR.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/OCR.py b/module/plugins/internal/OCR.py index 5c22866c8..15d3fc305 100644 --- a/module/plugins/internal/OCR.py +++ b/module/plugins/internal/OCR.py @@ -28,8 +28,8 @@ class OCR(Plugin): __authors__ = [("pyLoad Team", "admin@pyload.org")] - def __init__(self, pyfile): - self.pyload = pyfile.m.core + def __init__(self, plugin): + self.pyload = plugin.pyload self.info = {} #: Provide information in dict here self.init() |