]> kaliko git repositories - mpd-sima.git/blobdiff - sima/utils/blcli.py
Cleanup Exceptions
[mpd-sima.git] / sima / utils / blcli.py
index 5f0d14a9c1bae797d6f9f68e1b347c9f3dc08678..56f36ca6b846a82627ec8b92a4c56f9f2bed8328 100644 (file)
@@ -46,14 +46,14 @@ class BLCli(MPD):
         for entry in ['artist', 'album', 'title']:
             header = False
             for bl in blocklist:
-                art = bl.get(entry, '')
+                val = bl.get(entry, '')
                 mbid = bl.get(f'musicbrainz_{entry}', '')
-                if art or mbid:
+                if val or mbid:
                     if not header:
                         header = True
                         self.log.info(f'{entry.capitalize()}'
                                       '(id name musicbranzID):')
-                    self.log.info(f'{bl["id"]} "{art}"\t\t{mbid}')
+                    self.log.info(f'{bl["id"]} "{val}"\t\t{mbid}')
 
     def bl_add_artist(self):
         artist = self.options.get('artist', None)