mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 04:55:10 +01:00
Removed white-space sensitivity in the if-clause
This commit is contained in:
parent
e898f4396e
commit
e49ee7c686
2 changed files with 2 additions and 1 deletions
|
|
@ -1691,7 +1691,7 @@ def config_func(lib, opts, args):
|
|||
# Dump configuration.
|
||||
else:
|
||||
config_out = config.dump(full=opts.defaults, redact=opts.redact)
|
||||
if config_out != '{}\n':
|
||||
if config_out.strip() != '{}':
|
||||
print_(util.text_string(config_out))
|
||||
else:
|
||||
print("Empty configuration")
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ Changelog
|
|||
New features:
|
||||
|
||||
* When config is printed with no available configuration a new message is printed.
|
||||
:bug: `3779`
|
||||
* :doc:`/plugins/chroma`: Update file metadata after generating fingerprints through the `submit` command.
|
||||
* :doc:`/plugins/lastgenre`: Added more heavy metal genres: https://en.wikipedia.org/wiki/Heavy_metal_genres to genres.txt and genres-tree.yaml
|
||||
* :doc:`/plugins/subsonicplaylist`: import playlist from a subsonic server.
|
||||
|
|
|
|||
Loading…
Reference in a new issue