Replaced bytearray() by bytes()
This commit is contained in:
parent
e6f48a4bc1
commit
5b5a10ed44
1 changed files with 1 additions and 1 deletions
|
@ -509,7 +509,7 @@ class Dmx: # {{{1
|
|||
color = self._pad_color(color)
|
||||
|
||||
self.color = color
|
||||
self.payload = bytearray.fromhex(color)
|
||||
self.payload = bytes.fromhex(color)
|
||||
# }}}1
|
||||
|
||||
class Dmx4(Dmx): # {{{1
|
||||
|
|
Loading…
Reference in a new issue