mirror of
https://github.com/beetbox/beets.git
synced 2026-01-04 06:53:27 +01:00
return empty lists instead of None
This commit is contained in:
parent
9055abdba2
commit
3e1d496ba1
1 changed files with 2 additions and 2 deletions
|
|
@ -246,13 +246,13 @@ class DiscogsPlugin(BeetsPlugin):
|
|||
:rtype: list[beets.autotag.hooks.TrackInfo]
|
||||
"""
|
||||
if not self.discogs_client:
|
||||
return
|
||||
return []
|
||||
|
||||
if not artist and not title:
|
||||
self._log.debug(
|
||||
"Skipping Discogs query. File missing artist and " "title tags."
|
||||
)
|
||||
return
|
||||
return []
|
||||
|
||||
query = f"{artist} {title}"
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue