fix logging bug

patch bump
This commit is contained in:
onyx-and-iris 2022-11-07 21:05:27 +00:00
parent 981f4b57f8
commit 7015383b98
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "xair-api" name = "xair-api"
version = "2.0.1" version = "2.0.2"
description = "Remote control Behringer X-Air | Midas MR mixers through OSC" description = "Remote control Behringer X-Air | Midas MR mixers through OSC"
authors = ["onyx-and-iris <code@onyxandiris.online>"] authors = ["onyx-and-iris <code@onyxandiris.online>"]
license = "MIT" license = "MIT"

View File

@ -97,7 +97,7 @@ class XAirRemote(abc.ABC):
self._info_response = data[:] self._info_response = data[:]
def send(self, addr: str, param: Optional[str] = None): def send(self, addr: str, param: Optional[str] = None):
self.logger.debug(f"sending: {addr} {param if param else ''}") self.logger.debug(f"sending: {addr} {param if param is not None else ''}")
self.server.send_message(addr, param) self.server.send_message(addr, param)
time.sleep(self._WAIT_TIME) time.sleep(self._WAIT_TIME)