Skip to content

Commit

Permalink
Pass bytestrings to command_output
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker authored and LordSputnik committed Jul 6, 2015
1 parent ff40fe9 commit e975b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beets/util/artresizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def pil_getsize(path_in):

def im_getsize(path_in):
try:
out = util.command_output(['identify', '-format', '%w %h',
out = util.command_output([b'identify', b'-format', b'%w %h',
util.syspath(path_in)])
except subprocess.CalledProcessError:
log.warn(u'IM cannot compute size of {0}',
Expand Down

0 comments on commit e975b63

Please sign in to comment.