mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
Merge pull request #2168 from mastermatt/divide_floats
Divide floats to eliminate deprecation warning.
This commit is contained in:
commit
b16a612af0
|
@ -46,7 +46,7 @@ class _imaging_not_installed(object):
|
|||
|
||||
|
||||
# Limit to around a quarter gigabyte for a 24 bit (3 bpp) image
|
||||
MAX_IMAGE_PIXELS = int(1024 * 1024 * 1024 / 4 / 3)
|
||||
MAX_IMAGE_PIXELS = int(1024 * 1024 * 1024 // 4 // 3)
|
||||
|
||||
try:
|
||||
# give Tk a chance to set up the environment, in case we're
|
||||
|
|
Loading…
Reference in New Issue
Block a user