mirror of
https://github.com/beetbox/beets.git
synced 2025-12-07 00:53:08 +01:00
check dirname result against b'' in fetchart
This commit is contained in:
parent
5e62b39f75
commit
69c9fb8b07
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ class EmbedCoverArtPlugin(BeetsPlugin):
|
|||
else:
|
||||
filename = bytestring_path(opts.filename or
|
||||
config['art_filename'].get())
|
||||
if os.path.dirname(filename) != '':
|
||||
if os.path.dirname(filename) != b'':
|
||||
self._log.error(
|
||||
u"Only specify a name rather than a path for -n")
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue