Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Change debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
rccoleman committed Dec 26, 2020
1 parent 4516ece commit 3605cc3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lmdirect/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,9 @@ async def _process_data(self, plaintext):
if cur_msg.msg in self._responses_waiting:
self._responses_waiting.remove(cur_msg.msg)
finished = not len(self._responses_waiting)
if finished:
_LOGGER.debug("Received all responses")
else:
_LOGGER.debug("Waiting for {}".format(self._responses_waiting))
_LOGGER.debug("Received all responses") if finished else _LOGGER.debug(
"Waiting for {}".format(self._responses_waiting)
)

return finished

Expand Down

0 comments on commit 3605cc3

Please sign in to comment.