Return empty string in case of None

This commit is contained in:
Adrian Muntean
2019-02-20 12:26:04 +02:00
parent a0ca977cab
commit d8b872758c
2 changed files with 2 additions and 13 deletions

View File

@@ -233,4 +233,4 @@ class LocalizedIntegerValue(LocalizedValue):
"""Returns string representation of value"""
value = self.translate()
return str(value) if value is not None else None
return str(value) if value is not None else ''