From 6a9892b4de5f6394edd8a31208adad20001e6bc7 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 22 Jul 2020 19:10:38 +0200 Subject: [PATCH] Add placeholder wormhole send --- dropship.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dropship.py b/dropship.py index 7a4d4d8..b248926 100644 --- a/dropship.py +++ b/dropship.py @@ -92,6 +92,12 @@ class DropShip: # enabled by https://github.com/jhenstridge/asyncio-glib/pull/7 self._running.set_result(None) + async def wormhole_send(self, fpath): + """Run `wormhole send` on a local file path.""" + log.info("Pretending to start wormhole send...") + await asyncio.sleep(2) + log.info("Pretending to finish wormhole send...") + async def main(): """The application entrypoint."""