Send files from one computer to another! A graphical interface for magic-wormhole
https://magic-wormhole.readthedocs.io
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
457 B
22 lines
457 B
4 years ago
|
from logging import basicConfig, getLogger
|
||
|
from os import environ
|
||
|
|
||
|
from trio import open_nursery, sleep_forever
|
||
|
from trio_gtk import run
|
||
|
|
||
|
|
||
|
def main():
|
||
|
"""Trio main entrypoint."""
|
||
|
from dropship.dropship import DropShip
|
||
|
|
||
|
async def _main():
|
||
|
async with open_nursery() as nursery:
|
||
|
DropShip(nursery)
|
||
|
await sleep_forever()
|
||
|
|
||
|
run(_main)
|
||
|
|
||
|
|
||
|
basicConfig(level=environ.get("LOGLEVEL", "INFO"))
|
||
|
log = getLogger("dropship")
|