summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/ocr
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/ocr')
-rw-r--r--pyload/plugins/ocr/GigasizeCom.py3
-rw-r--r--pyload/plugins/ocr/LinksaveIn.py9
-rw-r--r--pyload/plugins/ocr/NetloadIn.py3
-rw-r--r--pyload/plugins/ocr/ShareonlineBiz.py3
4 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugins/ocr/GigasizeCom.py b/pyload/plugins/ocr/GigasizeCom.py
index 424a23790..6fe6ffa2d 100644
--- a/pyload/plugins/ocr/GigasizeCom.py
+++ b/pyload/plugins/ocr/GigasizeCom.py
@@ -9,8 +9,7 @@ class GigasizeCom(OCR):
__version__ = "0.1"
__description__ = """Gigasize.com ocr plugin"""
- __author_name__ = "pyLoad Team"
- __author_mail__ = "admin@pyload.org"
+ __authors__ = [("pyLoad Team", "admin@pyload.org")]
def __init__(self):
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):
diff --git a/pyload/plugins/ocr/NetloadIn.py b/pyload/plugins/ocr/NetloadIn.py
index 7ea9f6671..05798c14e 100644
--- a/pyload/plugins/ocr/NetloadIn.py
+++ b/pyload/plugins/ocr/NetloadIn.py
@@ -9,8 +9,7 @@ class NetloadIn(OCR):
__version__ = "0.1"
__description__ = """Netload.in ocr plugin"""
- __author_name__ = "pyLoad Team"
- __author_mail__ = "admin@pyload.org"
+ __authors__ = [("pyLoad Team", "admin@pyload.org")]
def __init__(self):
diff --git a/pyload/plugins/ocr/ShareonlineBiz.py b/pyload/plugins/ocr/ShareonlineBiz.py
index 1410ccfd5..4839a3e0c 100644
--- a/pyload/plugins/ocr/ShareonlineBiz.py
+++ b/pyload/plugins/ocr/ShareonlineBiz.py
@@ -9,8 +9,7 @@ class ShareonlineBiz(OCR):
__version__ = "0.1"
__description__ = """Shareonline.biz ocr plugin"""
- __author_name__ = "RaNaN"
- __author_mail__ = "RaNaN@pyload.org"
+ __authors__ = [("RaNaN", "RaNaN@pyload.org")]
def __init__(self):