1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-06-25 08:38:43 +00:00

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

View File

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