Skip to content

Commit

Permalink
Update echonetapiclient.py
Browse files Browse the repository at this point in the history
Revert 19e56c3
  • Loading branch information
scottyphillips authored Oct 8, 2024
1 parent 19e56c3 commit 93e9060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pychonet/echonetapiclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ async def echonetMessage(self, host, deojgc, deojcc, deojci, esv, opc):
# Wait up to 20(0.1*200) seconds depending on the Echonet specifications.
await asyncio.sleep(0.1)
# if tx_tid is not in message list then the message listener has received the message
if not self._message_list.get(tx_tid):
if self._message_list.get(tx_tid) is None:
# Check OPC count in results
if not is_discover and tx_tid in self._opc_counts:
res_opc_count = self._opc_counts[tx_tid]
Expand Down

0 comments on commit 93e9060

Please sign in to comment.