diff options
Diffstat (limited to 'hercules/convert_mapcache_to_tmx.py')
-rwxr-xr-x | hercules/convert_mapcache_to_tmx.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hercules/convert_mapcache_to_tmx.py b/hercules/convert_mapcache_to_tmx.py index e6e6bc9..15fc499 100755 --- a/hercules/convert_mapcache_to_tmx.py +++ b/hercules/convert_mapcache_to_tmx.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf8 -*- # # Copyright (C) 2014 Evol Online @@ -13,10 +13,10 @@ def runFunction(path): with open(path, "rb") as f: size = readInt32(f) if os.path.getsize(path) != size: - print "Map cache corrupted, wrong file size." + print("Map cache corrupted, wrong file size.") exit(1) mapsCount = readInt16(f) - print "Maps count: " + str(mapsCount) + print("Maps count: " + str(mapsCount)) readInt16(f) # padding covertToTmx(f, mapsCount) |