fix: the operation's label might be unicode (reported by blino)
This commit is contained in:
parent
185a6e91a2
commit
aaffdbf8d6
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class Operation(CapBaseObject):
|
||||||
|
|
||||||
@label.setter
|
@label.setter
|
||||||
def label(self, value):
|
def label(self, value):
|
||||||
self._label = str(value)
|
self._label = unicode(value)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def amount(self):
|
def amount(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue