From 3ce380645da442187d033656bd75350bb9e4b548 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 25 Mar 2025 20:06:19 +0200 Subject: Update urls and asyncio calls --- sticker/stickerimport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sticker/stickerimport.py') diff --git a/sticker/stickerimport.py b/sticker/stickerimport.py index 54cab76..2b9ff12 100644 --- a/sticker/stickerimport.py +++ b/sticker/stickerimport.py @@ -161,7 +161,7 @@ async def main(args: argparse.Namespace) -> None: def cmd() -> None: - asyncio.get_event_loop().run_until_complete(main(parser.parse_args())) + asyncio.run(main(parser.parse_args())) if __name__ == "__main__": -- cgit v1.2.3