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): ...@@ -93,7 +93,7 @@ class App(urwid.Frame):
self.stopped.set() self.stopped.set()
async def main(args=None): async def run(args=None):
logging.basicConfig() logging.basicConfig()
options = parser.parse_args(args) options = parser.parse_args(args)
...@@ -122,5 +122,5 @@ async def main(args=None): ...@@ -122,5 +122,5 @@ async def main(args=None):
app.stop() app.stop()
if __name__ == "__main__": def main(args=None):
asyncio.run(main()) 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