Skip to content

Commit

Permalink
Merge 01bd599 into 1965826
Browse files Browse the repository at this point in the history
  • Loading branch information
mikacousin committed Dec 2, 2020
2 parents 1965826 + 01bd599 commit 05b56af
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions python/ola/OlaClient.py
Expand Up @@ -1172,8 +1172,7 @@ def UpdateDmxData(self, controller, request, callback):
return False

if request.universe in self._universe_callbacks:
data = array.array('B')
data.fromstring(request.data)
data = array.array('B', request.data)
self._universe_callbacks[request.universe](data)
response = Ola_pb2.Ack()
callback(response)
Expand Down Expand Up @@ -1477,8 +1476,7 @@ def _GetDmxComplete(self, callback, controller, response):
universe = None

if status.Succeeded():
data = array.array('B')
data.fromstring(response.data)
data = array.array('B', response.data)
universe = response.universe

callback(status, universe, data)
Expand Down

0 comments on commit 05b56af

Please sign in to comment.