Skip to content

Commit

Permalink
fix wrong signature
Browse files Browse the repository at this point in the history
  • Loading branch information
bakatrouble committed May 14, 2019
1 parent 7a216f2 commit 34e2db2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ci_scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ git clone https://github.com/bakatrouble/pytgvoip --recursive
cd pytgvoip
BUILD=1 /opt/python/$1/bin/python setup.py bdist_wheel
/opt/python/$1/bin/auditwheel repair --plat manylinux2010_x86_64 dist/*.whl
cp dist/*.whl /dist/
cp wheelhouse/*.whl /dist/
cd ..
rm -rf pytgvoip
2 changes: 1 addition & 1 deletion src/_tgvoip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <iostream>
// #include <chrono>

Endpoint::Endpoint(int64_t id, const std::string &ip, const std::string &ipv6, uint16_t port, const std::string &peer_tag)
Endpoint::Endpoint(int64_t id, const std::string &ip, const std::string &ipv6, uint16_t port, const py::bytes &peer_tag)
: id(id), ip(ip), ipv6(ipv6), port(port), peer_tag(peer_tag) {}

VoIPController::VoIPController() {}
Expand Down
2 changes: 1 addition & 1 deletion src/tgvoip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
from tgvoip.tgvoip import *
from tgvoip.tgvoip import __all__

__version__ = "0.0.2.4"
__version__ = "0.0.2.5"

0 comments on commit 34e2db2

Please sign in to comment.