fix logging of incoming connections

This commit is contained in:
Stefan Allius
2024-04-02 18:51:59 +02:00
parent a2364115b3
commit 009746a1e4

View File

@@ -17,7 +17,7 @@ class AsyncStream():
async def server_loop(self, addr):
'''Loop for receiving messages from the inverter (server-side)'''
logging.info(f'Accept connection from {addr} to {self.l_addr}')
logging.info(f'Accept connection from {addr}')
self.inc_counter('Inverter_Cnt')
await self.loop()
self.dec_counter('Inverter_Cnt')