Skip to content

Commit 9c24348

Browse files
author
Caleb Noble
authored
Update ishish.py
1 parent f1e82a4 commit 9c24348

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ishish.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import traceback
33
from datetime import datetime
44
from html import escape
5+
from json import loads
56

67
import github
78
from aiohttp import web
@@ -158,7 +159,7 @@ async def fucku(event):
158159

159160
async def respond(request):
160161
print(await request.text())
161-
result = await request.json()
162+
result = loads(await request.text())
162163
# await tgbot.start(bot_token=BOT_TOKEN)
163164
# print(request.json)
164165
d_form = "%d/%m/%y || %H:%M"

0 commit comments

Comments
 (0)