CC-5043:
Invalid literal for float error from mutagen
This commit is contained in:
parent
628e075828
commit
655c1eb5a9
1 changed files with 2 additions and 1 deletions
|
@ -148,7 +148,8 @@ class MetadataElement(Loggable):
|
|||
if self.__max_length != -1:
|
||||
r = truncate_to_length(r, self.__max_length)
|
||||
if self.__max_value != -1:
|
||||
r = truncate_to_value(r, self.__max_value)
|
||||
try: r = truncate_to_value(r, self.__max_value)
|
||||
except ValueError, e: r = ''
|
||||
return r
|
||||
|
||||
def normalize_mutagen(path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue