Use latest trio-gtk API (no nursery)
This commit is contained in:
parent
2a0b6a47ea
commit
d680409488
@ -145,9 +145,11 @@ class DropShip:
|
|||||||
await trio.run_process(command, stderr=PIPE)
|
await trio.run_process(command, stderr=PIPE)
|
||||||
|
|
||||||
|
|
||||||
async def main(nursery):
|
async def main():
|
||||||
"""Trio main entrypoint."""
|
"""Trio main entrypoint."""
|
||||||
DropShip(nursery=nursery)
|
async with trio.open_nursery() as nursery:
|
||||||
|
DropShip(nursery)
|
||||||
|
await trio.sleep_forever()
|
||||||
|
|
||||||
|
|
||||||
trio_gtk.run(main)
|
trio_gtk.run(main)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
PyGObject==3.38.0
|
PyGObject==3.38.0
|
||||||
PyInstaller==3.6
|
PyInstaller==3.6
|
||||||
magic-wormhole==0.12.0
|
magic-wormhole==0.12.0
|
||||||
trio-gtk==0.1.1
|
trio-gtk==1.0.0
|
||||||
trio==0.17.0
|
trio==0.17.0
|
||||||
|
Loading…
Reference in New Issue
Block a user