Added exception for PIL import

This commit is contained in:
Manuel F Martinez 2014-02-23 21:10:34 -08:00
parent 9023d22e71
commit 27b393d45c
1 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,11 @@
@license: GPL
'''
try:
import Image
except ImportError:
from PIL import Image
import qrcode
import time