Skip to content

Commit a39dc2a

Browse files
committed
bug: test with device_id did not show results
1 parent 3fbe3be commit a39dc2a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

recorder/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ def test(
214214
config = Config({device_class: {device_id: device}})
215215
recorder = Recorder(config, output_folder)
216216
output_folder = recorder(seconds=5)
217+
device_class.show_results(output_folder)
217218

218219

219220
def main():

recorder/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def devices(
5656
)
5757
except Exception as e:
5858
raise RuntimeError(
59-
f"Could not initialize {str(device_class)}{index} "
60-
f"with config:\n {yaml_dump(device_config)}\n {str(e)}"
59+
f"Could not initialize {str(device_class)} {index} "
60+
f"with config:\n{yaml_dump(device_config)}\n{str(e)}"
6161
) from e
6262
return devices

0 commit comments

Comments
 (0)