mirror of
https://github.com/beetbox/beets.git
synced 2025-12-30 20:42:37 +01:00
Slight style tweaks.
This commit is contained in:
parent
e06f492f91
commit
9be753736b
1 changed files with 3 additions and 2 deletions
|
|
@ -120,8 +120,9 @@ def embed_item(item, imagepath, maxwidth=None, itempath=None,
|
|||
if ifempty:
|
||||
with NamedTemporaryFile(delete=True) as f:
|
||||
art = extract(f.name, item)
|
||||
if not art: pass
|
||||
else:
|
||||
if not art:
|
||||
pass
|
||||
else:
|
||||
log.debug(u'embedart: media file contained art already {0}'.format(
|
||||
displayable_path(imagepath)
|
||||
))
|
||||
|
|
|
|||
Loading…
Reference in a new issue