Skip to content

Commit 7faf7fd

Browse files
committed
Don't use turn types into hex anymore.
1 parent cbfdcdf commit 7faf7fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/data/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def change_type(self, unit, new_type, frame):
128128
unit_type = self.units[new_type]
129129
unit.set_type(unit_type, frame)
130130
else:
131-
self.logger.error("Unable to change type of {0} to {1} [frame {2}]; unit type not found in build {3}".format(unit,hex(new_type),frame,self.id))
131+
self.logger.error("Unable to change type of {0} to {1} [frame {2}]; unit type not found in build {3}".format(unit,new_type,frame,self.id))
132132

133133
def add_ability(self, ability_id, name, title=None, is_build=False, build_time=None, build_unit=None):
134134
ability = type(name,(Ability,), dict(

0 commit comments

Comments
 (0)