mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Make sure nvalues is int and not float for Python 3
This commit is contained in:
parent
14c8d8afe4
commit
5217a523d6
|
@ -208,7 +208,7 @@ def makeSpiderHeader(im):
|
||||||
if 1024%lenbyt != 0: labrec += 1
|
if 1024%lenbyt != 0: labrec += 1
|
||||||
labbyt = labrec * lenbyt
|
labbyt = labrec * lenbyt
|
||||||
hdr = []
|
hdr = []
|
||||||
nvalues = labbyt / 4
|
nvalues = int(labbyt / 4)
|
||||||
for i in range(nvalues):
|
for i in range(nvalues):
|
||||||
hdr.append(0.0)
|
hdr.append(0.0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user