Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ohdmire committed Nov 26, 2024
1 parent a3dc1d3 commit f19363a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ configparser==7.0.0
irc==20.4.0
requests==2.31.0
rosu-pp-py==1.1.0
websockets==14.1
websockets==14.1
aiofiles==24.1.0
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import aiofiles


async def echo(websocket, path):
async def echo(websocket):
async with aiofiles.open("data.json", mode='r') as f:
data = await f.read()
await websocket.send(data)
Expand Down

0 comments on commit f19363a

Please sign in to comment.