Skip to content

Commit 5fec473

Browse files
committed
Fix small bug in Color.hex
1 parent b12657f commit 5fec473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
class Color(AttributeDict):
2222
@property
23-
def hex():
23+
def hex(self):
2424
return "{0.r:02X}{0.g:02X}{0.b:02X}".format(self)
2525

2626
def __str__(self):

0 commit comments

Comments
 (0)