diff --git a/beets/ui/commands.py b/beets/ui/commands.py index efa6e2e16..f86984350 100755 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -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") diff --git a/docs/changelog.rst b/docs/changelog.rst index c752f204b..cc86b0292 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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.