Skip to content

Commit

Permalink
Merge pull request #55 from bigoulours/master
Browse files Browse the repository at this point in the history
only raising error if there is an actual error from filebot
  • Loading branch information
Laharah committed May 21, 2023
2 parents e3cd1ba + f3da81d commit 9d5fc7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filebottool/pyfilebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def rename(
"Filebot is unregistered, cannot rename.\n"
"FILEBOT OUTPUT DUMP:\n{0}".format(data)
)
elif rename_action != "test":
elif rename_action != "test" and filebot_error!='':
raise FilebotRuntimeError(
"FILEBOT OUTPUT DUMP:\n{0}\nstderr:\n{1}".format(data, filebot_error)
)
Expand Down

0 comments on commit 9d5fc7c

Please sign in to comment.