Skip to content

Commit

Permalink
Merge pull request #603 from Julian-O/ExceptionsNoMessage
Browse files Browse the repository at this point in the history
Exceptions do not have a .message attribute.
  • Loading branch information
tburrows13 authored Feb 12, 2018
2 parents db9e5f8 + b710a19 commit b0e3ed4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions moviepy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ def try_cmd(cmd):
else:
success, err = try_cmd([IMAGEMAGICK_BINARY])
if not success:
raise IOError(
"%s - The path specified for the ImageMagick binary might be wrong: %s" %
(err, IMAGEMAGICK_BINARY)
)
raise IOError("%s - The path specified for the ImageMagick binary might "
"be wrong: %s" % (err, IMAGEMAGICK_BINARY))



Expand Down

0 comments on commit b0e3ed4

Please sign in to comment.