mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-04-24 07:07:10 -05:00
Change print statements in extract_maps.py for Python 3 compatibility
This commit is contained in:
parent
698b0fc7e6
commit
4d168d0535
|
|
@ -310,8 +310,8 @@ def load_rom(filename=None):
|
|||
try:
|
||||
rom = open(filename, "rb").read()
|
||||
return True
|
||||
except Exception, exception:
|
||||
print "error loading rom"
|
||||
except Exception as exception:
|
||||
print("error loading rom")
|
||||
return False
|
||||
|
||||
def assert_rom():
|
||||
|
|
@ -699,5 +699,5 @@ if __name__ == "__main__":
|
|||
|
||||
for header in map_headers:
|
||||
if header in bad_maps: continue
|
||||
print "map " + str(header) + " has " + str(map_headers[header]["number_of_referenced_texts"]) + " referenced texts"
|
||||
print("map " + str(header) + " has " + str(map_headers[header]["number_of_referenced_texts"]) + " referenced texts")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user