Fix import of Pillow in modules
This commit is contained in:
parent
74f15059e9
commit
1310939fe0
3 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ import hashlib
|
|||
import sys
|
||||
|
||||
try:
|
||||
import Image
|
||||
from PIL import Image
|
||||
except ImportError:
|
||||
raise ImportError('Please install python-imaging')
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
import time
|
||||
|
||||
try:
|
||||
import Image
|
||||
from PIL import Image
|
||||
except ImportError:
|
||||
raise ImportError('Please install python-imaging')
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
import hashlib
|
||||
|
||||
try:
|
||||
import Image
|
||||
from PIL import Image
|
||||
except ImportError:
|
||||
raise ImportError('Please install python-imaging')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue