1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-23 01:16:18 +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: if transform:
value = transform(value) value = transform(value)
return value if value else default return value if value else default
except KeyError: except (KeyError, ValueError):
return default return default
def stats(self): def stats(self):

Binary file not shown.