Skip to content

Commit

Permalink
Fix for Sentry OPENSHOT-11T: IndexError list index out of range
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed Jun 28, 2024
1 parent d198ac1 commit c23c4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows/add_to_timeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def accept(self):
# Add transition for this clip (if any)
# Open up QtImageReader for transition Image
if random_transition:
random_index = randint(0, len(self.transitions))
random_index = randint(0, len(self.transitions) - 1)
transition_path = self.transitions[random_index]

# Get reader for transition
Expand Down

0 comments on commit c23c4f8

Please sign in to comment.