Browse Source

Set code in the UI

unifiedWindowUI
Luke Murphy 4 years ago
parent
commit
3cfe971acb
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 3
      dropship.py

3
dropship.py

@ -119,9 +119,10 @@ class DropShip:
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE,
)
line = await self.read_lines(process.stderr, "wormhole receive")
code = line.split()[-1]
log.info(f"Wormhole send produced {code}")
self.drop_label.set_text(code)
# TODO(decentral1se): waits forever...
await process.wait()

Loading…
Cancel
Save