Skip to content

Commit c5d22d6

Browse files
committed
decoding this so that it reads as a string not bytes in python 3
1 parent 722ae4f commit c5d22d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/events/tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def __init__(self, frames, data, build):
442442
self.player = None
443443

444444
#: The name of the upgrade
445-
self.upgrade_type_name = data[1]
445+
self.upgrade_type_name = data[1].decode('utf8')
446446

447447
#: The number of times this upgrade as been researched
448448
self.count = data[2]

0 commit comments

Comments
 (0)