diff --git a/bin/pick-ui.py b/bin/pick-ui.py index 1980f118436..24613880b90 100755 --- a/bin/pick-ui.py +++ b/bin/pick-ui.py @@ -27,7 +27,7 @@ from pick.ui import UI, PALETTE if __name__ == "__main__": u = UI() - evl = urwid.AsyncioEventLoop(loop=asyncio.get_event_loop()) + evl = urwid.AsyncioEventLoop(loop=asyncio.new_event_loop()) loop = urwid.MainLoop(u.render(), PALETTE, event_loop=evl, handle_mouse=False) u.mainloop = loop loop.run()