Fixed unhandled crash when getting empty tag

This commit is contained in:
Eliot Berriot 2019-12-16 09:54:15 +01:00
parent b6681ce728
commit 8f0eabcb71
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ def get_id3_tag(f, k):
return v
except KeyError:
break
except IndexError:
break
except AttributeError:
continue