Squash some TODOs

This commit is contained in:
Julian Stirling 2025-08-04 11:10:21 +01:00
parent 4e9b07c78f
commit 7d83aadf8d
2 changed files with 2 additions and 4 deletions

View file

@ -699,8 +699,6 @@ class SmartScanThing(lt.Thing):
Note that as this is a lt.thing_action it needs the logger passed as
a variable if called from another thing action
"""
# TODO tidy this function
# TODO handle if json_path is None (easier once tidied)
scan_data_dict = self._scan_dir_manager.get_scan_data_dict(scan_name)
if scan_data_dict is None:
logger.warning("Couldn't read scan data it may be missing or corrupt.")