From f3ae1dd7ca9958ecf447b61e665667e842877380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=92=D0=BB=D0=B0?= =?UTF-8?q?=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=D0=BE=D0=B2=D0=B8=D1=87?= Date: Sat, 27 Feb 2016 19:40:40 +0300 Subject: [PATCH] fix fix bootstrap --- src/tox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tox.py b/src/tox.py index ab64e31..54363d1 100644 --- a/src/tox.py +++ b/src/tox.py @@ -198,7 +198,7 @@ class Tox(object): """ tox_err_bootstrap = c_int() result = Tox.libtoxcore.tox_bootstrap(self._tox_pointer, c_char_p(address), c_uint16(port), - c_char_p(string_to_bin(public_key)), addressof(tox_err_bootstrap)) + string_to_bin(public_key), addressof(tox_err_bootstrap)) tox_err_bootstrap = tox_err_bootstrap.value if tox_err_bootstrap == TOX_ERR_BOOTSTRAP['OK']: return bool(result)