Merge pull request #2168 from mastermatt/divide_floats

Divide floats to eliminate deprecation warning.
This commit is contained in:
wiredfool 2016-10-25 09:21:47 +01:00 committed by GitHub
commit b16a612af0

View File

@ -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