Skip to content

Commit

Permalink
FIx transcript group errror
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Nov 20, 2024
1 parent 21bccf9 commit 7a9a7ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
push:
branches: ["main"]
workflow_dispatch:
schedule:
- cron: '0 9 * * *'

jobs:

Expand Down
2 changes: 1 addition & 1 deletion src/parl_motion_detector/motions.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,9 @@ def new_motion(speech_start_pid: Optional[str]):
except IndexError:
try:
next_transcript_group = transcript_groups[transcript_index + 1]
next_item = next_transcript_group.speech.items[0]
except IndexError:
next_item = None
next_item = next_transcript_group.speech.items[0]

if discussion_mode(paragraph):
speech_is_discussion_mode = True
Expand Down

0 comments on commit 7a9a7ea

Please sign in to comment.