fix: [websockets client] fix client bind

This commit is contained in:
Terrtia 2022-05-10 13:36:35 +02:00
parent 19969a02b2
commit 30fdc95362
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -26,6 +26,8 @@ config_loader = ConfigLoader()
local_addr = config_loader.get_config_str('AIL_2_AIL', 'local_addr') local_addr = config_loader.get_config_str('AIL_2_AIL', 'local_addr')
if not local_addr or local_addr == None: if not local_addr or local_addr == None:
local_addr = None local_addr = None
else:
local_addr = (local_addr, 0)
config_loader = None config_loader = None