Skip to content

Commit

Permalink
Switch from Trio to asyncio (#36)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hldh214 committed Nov 18, 2024
1 parent e9b3813 commit 8c8a03b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buff_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import datetime
import json

import trio
import asyncio

from buff2steam.provider.buff import Buff

Expand Down Expand Up @@ -71,4 +71,4 @@ async def main():


if __name__ == '__main__':
trio.run(main)
asyncio.run(main())

0 comments on commit 8c8a03b

Please sign in to comment.