Skip to content

Commit ab8d826

Browse files
committed
make diagnostic script work
1 parent 27948bf commit ab8d826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/scripts/sc2parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def main():
6868
print('{build} - {real_type} on {map_name} - Played {start_time}'.format(**e.replay.__dict__))
6969
print('[ERROR]', e.message)
7070
for event in e.game_events[-5:]:
71-
print('{0} - {1}'.format(hex(event.type), event.bytes.encode('hex')))
71+
print('{0}'.format(event))
7272
print(e.buffer.read_range(e.location, e.location+50).encode('hex'))
7373
print
7474
except Exception as e:

0 commit comments

Comments
 (0)