diff options
Diffstat (limited to 'hercules/extract_mapcache.py')
-rwxr-xr-x | hercules/extract_mapcache.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hercules/extract_mapcache.py b/hercules/extract_mapcache.py index 39a63c3..9facbeb 100755 --- a/hercules/extract_mapcache.py +++ b/hercules/extract_mapcache.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf8 -*- # # Copyright (C) 2014 Evol Online @@ -14,10 +14,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 extractMaps(f, mapsCount) |