update
This commit is contained in:
parent
48b4555a04
commit
8ab22f32bd
4 changed files with 109 additions and 101 deletions
|
@ -493,7 +493,8 @@ class Tox:
|
|||
:return: True on success.
|
||||
"""
|
||||
tox_err_set_info = c_int()
|
||||
name = bytes(name, 'utf-8')
|
||||
if type(name) != bytes:
|
||||
name = bytes(name, 'utf-8')
|
||||
LOG_DEBUG(f"tox_self_set_name")
|
||||
result = Tox.libtoxcore.tox_self_set_name(self._tox_pointer,
|
||||
c_char_p(name),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue