Skip to content

Commit

Permalink
fix wron var name in exception
Browse files Browse the repository at this point in the history
  • Loading branch information
fsadannn committed Sep 15, 2020
1 parent b2a68e3 commit 044b73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video_diet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ def convert_video_progress_bar(source: str, dest: str, manager=None):
res += proc.read()
exitstatus = proc.wait()
if exitstatus:
raise ffmpeg.Error('ffmpeg','',err)
raise ffmpeg.Error('ffmpeg','',res)

0 comments on commit 044b73e

Please sign in to comment.