Skip to content

Commit

Permalink
User app failing in record playing due to incorrect recording argument
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank40 committed Jun 18, 2024
1 parent b090920 commit 45cc5be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openadapt/app/tray.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,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
2 changes: 1 addition & 1 deletion openadapt/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ def dict2html(

@logger.catch
def main(
recording: Recording = None,
recording_id: int = None,
recording: Recording = None,
diff_video: bool = False,
cleanup: bool = True,
) -> bool:
Expand Down

0 comments on commit 45cc5be

Please sign in to comment.