refactor: cleanup

This commit is contained in:
2025-02-24 14:16:31 +01:00
parent ac4f0c5af7
commit b75207b7c0
4 changed files with 53 additions and 16 deletions

View File

@@ -40,10 +40,10 @@ class PSIDeviceBase(Device):
super().__init__(name=name, **kwargs)
self._stopped = False
self.task_handler = TaskHandler(parent=self)
self.file_utils = FileHandler()
if scan_info is None:
scan_info = get_mock_scan_info()
self.scan_info = scan_info
self.file_utils = FileHandler()
self.on_init()
########################################