Added syntax to have print working on windows
This commit is contained in:
parent
b0097da16f
commit
9023d22e71
|
@ -63,7 +63,7 @@ class Escpos:
|
|||
|
||||
|
||||
if im.size[0] > 512:
|
||||
print "WARNING: Image is wider than 512 and could be truncated at print time "
|
||||
print ("WARNING: Image is wider than 512 and could be truncated at print time ")
|
||||
if im.size[1] > 255:
|
||||
raise ImageSizeError()
|
||||
|
||||
|
|
Loading…
Reference in New Issue