diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-05 17:06:22 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-05 17:06:22 +0200 |
commit | 2a5ff9ce8b025336cccdd7dde1260a7255efc683 (patch) | |
tree | 27f345bc1af3f71e2ff200fa3a0397fbffce85d6 /module/plugins/captcha/LinksaveIn.py | |
parent | Remove old Ev0InFetcher hook (diff) | |
download | pyload-2a5ff9ce8b025336cccdd7dde1260a7255efc683.tar.xz |
Fix pillow import header
Diffstat (limited to 'module/plugins/captcha/LinksaveIn.py')
-rw-r--r-- | module/plugins/captcha/LinksaveIn.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/captcha/LinksaveIn.py b/module/plugins/captcha/LinksaveIn.py index d915b7628..069c8090d 100644 --- a/module/plugins/captcha/LinksaveIn.py +++ b/module/plugins/captcha/LinksaveIn.py @@ -1,6 +1,10 @@ # -*- coding: utf-8 -*- -from PIL import Image +try: + from PIL import Image +except ImportError: + import Image + from glob import glob from os import sep from os.path import abspath, dirname |