Clean up non-float value, add v3.5 to tox test
This commit is contained in:
parent
e43e95bcff
commit
8b454c4765
|
@ -83,7 +83,7 @@ class Escpos(object):
|
||||||
pbuffer = b''
|
pbuffer = b''
|
||||||
|
|
||||||
self._raw(S_RASTER_N)
|
self._raw(S_RASTER_N)
|
||||||
pbuffer = "%02X%02X%02X%02X" % (((size[0]/size[1])/8), 0, size[1] & 0xff, size[1] >> 8)
|
pbuffer = "%02X%02X%02X%02X" % (((size[0]//size[1])//8), 0, size[1] & 0xff, size[1] >> 8)
|
||||||
self._raw(binascii.unhexlify(pbuffer))
|
self._raw(binascii.unhexlify(pbuffer))
|
||||||
pbuffer = ""
|
pbuffer = ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue