Fix #946: Fix import crash when importing M4A file with no embedded cover

This commit is contained in:
Eliot Berriot 2019-10-16 10:21:53 +02:00
commit 66ef7a7332
No known key found for this signature in database
GPG key ID: 6B501DFD73514E14
3 changed files with 7 additions and 1 deletions

View file

@ -72,7 +72,7 @@ def clean_id3_pictures(apic):
def get_mp4_tag(f, k):
if k == "pictures":
return f.get("covr")
return f.get("covr", [])
raw_value = f.get(k, None)
if not raw_value: