From 5b5a10ed4456205fb5a2d21440ec92a48a0e85c5 Mon Sep 17 00:00:00 2001 From: Shy Date: Fri, 2 Aug 2024 04:48:39 +0200 Subject: [PATCH] Replaced bytearray() by bytes() --- c4ctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c4ctrl.py b/c4ctrl.py index ab92fae..a7f1089 100755 --- a/c4ctrl.py +++ b/c4ctrl.py @@ -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