Skip to content

Commit 71d0903

Browse files
authored
Merge pull request #92 from blazej-czapp/upstream
Fix UnitTypeChangeEvent's __str__()
2 parents 6fcd7f6 + 0cd9831 commit 71d0903

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
@@ -482,7 +482,7 @@ def __init__(self, frames, data, build):
482482
self.unit_type_name = data[2].decode("utf8")
483483

484484
def __str__(self):
485-
return self._str_prefix() + "{0: >15} - Unit {0} type changed to {1}".format(
485+
return self._str_prefix() + "{0: >15} - Unit {1} type changed to {2}".format(
486486
str(self.unit.owner), self.unit, self.unit_type_name
487487
)
488488

0 commit comments

Comments
 (0)