Skip to content

Commit

Permalink
Merge pull request #156 from MMJv3/main
Browse files Browse the repository at this point in the history
Update utilities.py
  • Loading branch information
nadermx authored Oct 7, 2024
2 parents 5988aa2 + eef5ec3 commit d3b44c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backgroundremover/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def matte_key(output, file_path,
file_path
]
framerate_output = sp.check_output(cmd, universal_newlines=True)
total_frames = int(framerate_output)
total_frames = int(framerate_output.replace(',', '').strip())
if frame_limit != -1:
total_frames = min(frame_limit, total_frames)

Expand Down

0 comments on commit d3b44c7

Please sign in to comment.