mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +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
|
||||
labbyt = labrec * lenbyt
|
||||
hdr = []
|
||||
nvalues = labbyt / 4
|
||||
nvalues = int(labbyt / 4)
|
||||
for i in range(nvalues):
|
||||
hdr.append(0.0)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user