Added exception for PIL import
This commit is contained in:
parent
9023d22e71
commit
27b393d45c
|
@ -6,7 +6,11 @@
|
|||
@license: GPL
|
||||
'''
|
||||
|
||||
try:
|
||||
import Image
|
||||
except ImportError:
|
||||
from PIL import Image
|
||||
|
||||
import qrcode
|
||||
import time
|
||||
|
||||
|
|
Loading…
Reference in New Issue