Test and linting tidy-up

This commit is contained in:
Jack Kingsman
2026-02-09 22:37:50 -08:00
parent d5a321f314
commit 28069ab732
6 changed files with 23 additions and 14 deletions
+3 -4
View File
@@ -329,10 +329,9 @@ class RadioManager:
if not current_connected:
# Attempt reconnection on every loop while disconnected
if not self.is_reconnecting:
if await self.reconnect():
await self.post_connect_setup()
self._last_connected = True
if not self.is_reconnecting and await self.reconnect():
await self.post_connect_setup()
self._last_connected = True
elif not self._last_connected and current_connected:
# Connection restored (might have reconnected automatically)