Browse Source

Move import out of hack import location

croc
Luke Murphy 4 years ago
parent
commit
5906831d03
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 3
      dropship/__init__.py

3
dropship/__init__.py

@ -1,10 +1,11 @@
from trio import open_nursery, sleep_forever from trio import open_nursery, sleep_forever
from trio_gtk import run from trio_gtk import run
from dropship.dropship import DropShip
def main(): def main():
"""Trio main entrypoint.""" """Trio main entrypoint."""
from dropship.dropship import DropShip
async def _main(): async def _main():
async with open_nursery() as nursery: async with open_nursery() as nursery:

Loading…
Cancel
Save