diff options
Diffstat (limited to 'Plugins/Plugin.py')
-rw-r--r-- | Plugins/Plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Plugin.py b/Plugins/Plugin.py index adcaa7678..f43172b55 100644 --- a/Plugins/Plugin.py +++ b/Plugins/Plugin.py @@ -76,7 +76,7 @@ class Plugin(): self.config[option] = False if self.config[option].lower() == 'false' else self.config[option] def init_ocr(self): - modul = __import__("captcha."+ self.props['name']) + modul = __import__(self.props['name'], fromlist=['plugins']) captchaClass = getattr(modul, self.props['name']) self.ocr = captchaClass() |