Skip to content

Commit

Permalink
Merge branch 'main' into feat/download_latest_app_updates
Browse files Browse the repository at this point in the history
  • Loading branch information
abrichr authored Jun 20, 2024
2 parents 723d115 + 4ff4c73 commit 20624a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions openadapt/app/tray.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def _visualize(self, recording: Recording) -> None:
if self.visualize_proc is not None:
self.visualize_proc.kill()
self.visualize_proc = multiprocessing.Process(
target=visualize, args=(recording.id,)
target=visualize, args=(recording,)
)
self.visualize_proc.start()

Expand Down Expand Up @@ -530,7 +530,7 @@ def populate_menu(self, menu: QMenu, action: Callable, action_type: str) -> None
menu.addAction(no_recordings_action)
self.recording_actions[action_type].append(no_recordings_action)
else:
for idx, recording in enumerate(recordings):
for recording in recordings:
formatted_timestamp = datetime.fromtimestamp(
recording.timestamp
).strftime("%Y-%m-%d %H:%M:%S")
Expand Down
1 change: 0 additions & 1 deletion openadapt/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,6 @@ def record(
started_counter,
video_pre_callback,
video_post_callback,
"(video)",
),
)
video_writer.start()
Expand Down

0 comments on commit 20624a0

Please sign in to comment.