Skip to content

Commit

Permalink
fix: Remove cleanup from the .open() method of the DeviceManager
Browse files Browse the repository at this point in the history
…since the creation of the device performs the cleanup as well
  • Loading branch information
nfelt14 committed Feb 12, 2025
1 parent a1dc896 commit dd4eae0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/tm_devices/device_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1047,8 +1047,6 @@ def open(self) -> bool:
_logger.info("Opening Connections to Devices")
for device_name, device_config in self.__config.devices.items():
self.__create_device(device_name, device_config, 3)
if self.__setup_cleanup_enabled:
self.cleanup_all_devices()
self.__is_open = True
self._suppress_protection = False

Expand Down

0 comments on commit dd4eae0

Please sign in to comment.