From 8c8a03b8dab8fa21073f0acf47dc4e726c72a069 Mon Sep 17 00:00:00 2001 From: hldh214 Date: Mon, 18 Nov 2024 11:40:41 +0900 Subject: [PATCH] Switch from Trio to asyncio (#36) Replaced Trio with asyncio to align with the rest of the project and simplify the event loop management. Updated the main execution to use asyncio.run() instead of trio.run(). Signed-off-by: hldh214 --- buff_scanner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buff_scanner.py b/buff_scanner.py index be71c0f..d2d3bb6 100644 --- a/buff_scanner.py +++ b/buff_scanner.py @@ -4,7 +4,7 @@ import datetime import json -import trio +import asyncio from buff2steam.provider.buff import Buff @@ -71,4 +71,4 @@ async def main(): if __name__ == '__main__': - trio.run(main) + asyncio.run(main())