1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-31 00:07:39 +02:00

client/icons/generate_icns.py: Replace print statement by built-in function.

The "print" statement should not be used
This commit is contained in:
Alexander Wilms
2023-10-27 17:47:43 +00:00
parent b10b1a5444
commit ead1140b9b

View File

@@ -3,7 +3,7 @@ import os, sys, shutil
img = Image.open(sys.argv[1])
if img.size != (1024,1024):
print "Input image must be 1024x1024. Provided image is %dx%d" % img.size
print("Input image must be 1024x1024. Provided image is %dx%d" % img.size)
os.mkdir("vcmi.iconset")
for i in [16, 32, 128, 256, 512]: