Skip to content

Commit ae64628

Browse files
digaru19jgrewe
authored andcommitted
Fix string representation
1 parent 24cc812 commit ae64628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

odml/value.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def get_display(self, max_length=-1):
301301
if max_length != -1:
302302
text = text[:max_length]
303303
if self.can_display(text, max_length):
304-
return text + u'…'
304+
return (text + u'…').encode('utf-8')
305305

306306
return "(%d bytes)" % len(self._value)
307307

0 commit comments

Comments
 (0)