Clean up non-float value, add v3.5 to tox test

This commit is contained in:
Michael Billington 2016-03-17 21:59:47 +11:00
parent e43e95bcff
commit 8b454c4765
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ class Escpos(object):
pbuffer = b''
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))
pbuffer = ""

View File

@ -1,5 +1,5 @@
[tox]
envlist = py27, py34
envlist = py27, py34, py35
[testenv]
deps = nose