Ensure compatibility of the new version with old database format (ACF value structure)

This commit is contained in:
Alessandro
2019-09-08 15:58:09 +02:00
parent 0606549a7d
commit 08b3312b23

View File

@@ -46,7 +46,7 @@ class ACFValue:
entries = [] entries = []
for entry in series: for entry in series:
entries.append([ entries.append([
cls(value.strip()) for value in entry.split(Constants.FIELD_SEPARATOR) cls(value.rstrip('ms').strip()) for value in entry.split(Constants.FIELD_SEPARATOR)
]) ])
return entries return entries