summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/ocr/LinksaveIn.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/ocr/LinksaveIn.py')
-rw-r--r--pyload/plugins/ocr/LinksaveIn.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/pyload/plugins/ocr/LinksaveIn.py b/pyload/plugins/ocr/LinksaveIn.py
index 98906abbe..10f7354d9 100644
--- a/pyload/plugins/ocr/LinksaveIn.py
+++ b/pyload/plugins/ocr/LinksaveIn.py
@@ -1,7 +1,11 @@
# -*- coding: utf-8 -*-
+try:
+ from PIL import Image
+except ImportError:
+ import Image
+
from glob import glob
-from PIL import Image
from os import sep
from os.path import abspath, dirname
@@ -14,8 +18,7 @@ class LinksaveIn(OCR):
__version__ = "0.1"
__description__ = """Linksave.in ocr plugin"""
- __author_name__ = "pyLoad Team"
- __author_mail__ = "admin@pyload.org"
+ __authors__ = [("pyLoad Team", "admin@pyload.org")]
def __init__(self):