Skip to content

Commit

Permalink
Fix for connected device files saving after check for existing connector
Browse files Browse the repository at this point in the history
  • Loading branch information
imbeacon committed Oct 17, 2024
1 parent 0e77e02 commit c4cb5f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thingsboard_gateway/gateway/tb_gateway_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1872,6 +1872,7 @@ def __load_persistent_devices(self):
except Exception as e:
log.exception(e)
continue
self.__save_persistent_devices()
else:
log.debug("No device found in connected device file.")
self.__connected_devices = {} if self.__connected_devices is None else self.__connected_devices
Expand Down

0 comments on commit c4cb5f8

Please sign in to comment.