Fixed reconnect crashes

This commit is contained in:
Brikwerk 2021-09-16 12:35:16 -07:00
commit 42916e2da7

View file

@ -88,7 +88,10 @@ class ControllerServer():
self.controller.setup() self.controller.setup()
if reconnect_address: if reconnect_address:
itr, ctrl = self.reconnect(reconnect_address) try:
itr, ctrl = self.reconnect(reconnect_address)
except OSError:
itr, ctrl = self.connect()
else: else:
itr, ctrl = self.connect() itr, ctrl = self.connect()
finally: finally: