Browse Source

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

The "print" statement should not be used
Alexander Wilms 2 years ago
parent
commit
ead1140b9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/icons/generate_icns.py

+ 1 - 1
client/icons/generate_icns.py

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