mirror of
https://github.com/beetbox/beets.git
synced 2025-12-08 01:23:09 +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:
|
else:
|
||||||
filename = bytestring_path(opts.filename or
|
filename = bytestring_path(opts.filename or
|
||||||
config['art_filename'].get())
|
config['art_filename'].get())
|
||||||
if os.path.dirname(filename) != '':
|
if os.path.dirname(filename) != b'':
|
||||||
self._log.error(
|
self._log.error(
|
||||||
u"Only specify a name rather than a path for -n")
|
u"Only specify a name rather than a path for -n")
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue