1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-09 19:52:16 +00:00

Fixed reading malformed tags

Fixes #86
This commit is contained in:
spl0k 2018-01-21 14:42:27 +01:00
parent 2df4de47a8
commit c6992a4726
2 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ class Scanner:
if transform:
value = transform(value)
return value if value else default
except KeyError:
except (KeyError, ValueError):
return default
def stats(self):

Binary file not shown.