Commit 2dc2734a authored by Ondřej Kuzník's avatar Ondřej Kuzník
Browse files

Fix startup issues

parent 1be8bcf1
......@@ -93,7 +93,7 @@ class App(urwid.Frame):
self.stopped.set()
async def main(args=None):
async def run(args=None):
logging.basicConfig()
options = parser.parse_args(args)
......@@ -122,5 +122,5 @@ async def main(args=None):
app.stop()
if __name__ == "__main__":
asyncio.run(main())
def main(args=None):
asyncio.run(run(args))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment