Skip to content

Commit fdd893c

Browse files
committed
_lookup_tags(): directly return the dict
1 parent 2497bf5 commit fdd893c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

picard/ui/metadatabox.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def _get_file_lookup(self):
263263

264264
def _lookup_tags(self):
265265
lookup = self._get_file_lookup()
266-
LOOKUP_TAGS = {
266+
return {
267267
'musicbrainz_recordingid': lookup.recording_lookup,
268268
'musicbrainz_trackid': lookup.track_lookup,
269269
'musicbrainz_albumid': lookup.album_lookup,
@@ -274,7 +274,6 @@ def _lookup_tags(self):
274274
'musicbrainz_discid': lookup.discid_lookup,
275275
'acoustid_id': lookup.acoust_lookup
276276
}
277-
return LOOKUP_TAGS
278277

279278
def _open_link(self, values, tag):
280279
lookup = self._lookup_tags()

0 commit comments

Comments
 (0)