mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 22:49:15 +02:00
Fixed unhandled crash when getting empty tag
This commit is contained in:
parent
b6681ce728
commit
8f0eabcb71
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ def get_id3_tag(f, k):
|
||||||
return v
|
return v
|
||||||
except KeyError:
|
except KeyError:
|
||||||
break
|
break
|
||||||
|
except IndexError:
|
||||||
|
break
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue