mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 21:42:48 +01:00
Avoid using None when format is unspecified
This commit is contained in:
parent
eb58575024
commit
f8a8388e0c
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ class InfoPlugin(BeetsPlugin):
|
|||
if opts.keys_only:
|
||||
print_data_keys(data, item)
|
||||
else:
|
||||
fmt = ui.decargs([opts.format])[0]
|
||||
fmt = ui.decargs([opts.format])[0] if opts.format else None
|
||||
print_data(data, item, fmt)
|
||||
first = False
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue