mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 08:24:43 +01:00
Typo from earlier commit (capnproto-0.8.0 update)
This commit is contained in:
parent
b5cd22d569
commit
745887cee0
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ class StatusSubscriber(thread_capnp.Example.StatusSubscriber.Server):
|
|||
|
||||
|
||||
def start_status_thread(host):
|
||||
client = capnp.TwoPartyClient(host, nesting_limit=64)
|
||||
client = capnp.TwoPartyClient(host)
|
||||
cap = client.bootstrap().cast_as(thread_capnp.Example)
|
||||
|
||||
subscriber = StatusSubscriber()
|
||||
|
@ -37,7 +37,7 @@ def start_status_thread(host):
|
|||
|
||||
|
||||
def main(host):
|
||||
client = capnp.TwoPartyClient(host, nesting_limit=64)
|
||||
client = capnp.TwoPartyClient(host)
|
||||
cap = client.bootstrap().cast_as(thread_capnp.Example)
|
||||
|
||||
status_thread = threading.Thread(target=start_status_thread, args=(host,))
|
||||
|
|
Loading…
Add table
Reference in a new issue