Replaced bytearray() by bytes()

This commit is contained in:
Shy 2024-08-02 04:48:39 +02:00
parent e6f48a4bc1
commit 5b5a10ed44

View file

@ -509,7 +509,7 @@ class Dmx: # {{{1
color = self._pad_color(color) color = self._pad_color(color)
self.color = color self.color = color
self.payload = bytearray.fromhex(color) self.payload = bytes.fromhex(color)
# }}}1 # }}}1
class Dmx4(Dmx): # {{{1 class Dmx4(Dmx): # {{{1