xep_0384: convert text value to str
This commit is contained in:
parent
43cae6d871
commit
9a3effbe40
1 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,7 @@ class SignedPreKeyPublic(ElementBase):
|
|||
return self.xml.text
|
||||
|
||||
def set_value(self, value):
|
||||
self.xml.text = value
|
||||
self.xml.text = str(value)
|
||||
|
||||
def del_value(self):
|
||||
self.xml.text = ''
|
||||
|
@ -99,7 +99,7 @@ class SignedPreKeySignature(ElementBase):
|
|||
return self.xml.text
|
||||
|
||||
def set_value(self, value):
|
||||
self.xml.text = value
|
||||
self.xml.text = str(value)
|
||||
|
||||
def del_value(self):
|
||||
self.xml.text = ''
|
||||
|
@ -115,7 +115,7 @@ class IdentityKey(ElementBase):
|
|||
return self.xml.text
|
||||
|
||||
def set_value(self, value):
|
||||
self.xml.text = value
|
||||
self.xml.text = str(value)
|
||||
|
||||
def del_value(self):
|
||||
self.xml.text = ''
|
||||
|
|
Loading…
Reference in a new issue