mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
parent
2df4de47a8
commit
c6992a4726
@ -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.
Loading…
Reference in New Issue
Block a user