hotfix
This commit is contained in:
parent
1bb145728f
commit
42703c9bc2
2 changed files with 4 additions and 2 deletions
|
@ -36,7 +36,7 @@ class LibToxCore(object):
|
|||
|
||||
|
||||
def string_to_bin(tox_id):
|
||||
return c_char_p(tox_id.decode('hex'))
|
||||
return c_char_p(tox_id.decode('hex')) if tox_id is not None else None
|
||||
|
||||
|
||||
def bin_to_string(raw_id, length):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue