Bug fixes and Pyrogram bump (#23)

Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-authored-by: profitroll <vozhd.kk@gmail.com>
Reviewed-on: #23
This commit is contained in:
Profitroll 2023-05-16 15:45:23 +03:00
parent fc8f49b487
commit e5b2584d4c
2 changed files with 3 additions and 3 deletions

View File

@ -53,14 +53,14 @@ async def send_content(app: PosterClient) -> None:
logWrite(
locale(
"post_invalid_pic", "console", locale=configGet("locale")
).format(response.status, str(response.json()))
).format(response.status, str(await response.json()))
)
if configGet("error", "reports"):
await app.send_message(
app.owner,
locale(
"post_invalid_pic", "message", locale=configGet("locale")
).format(response.status, response.json()),
).format(response.status, await response.json()),
)
tmp_dir = str(uuid4())

View File

@ -2,7 +2,7 @@ python_dateutil==2.8.2
apscheduler==3.10.1
pytimeparse==1.1.8
convopyro==0.5
pyrogram==2.0.104
pyrogram==2.0.106
aiofiles~=23.1.0
tgcrypto==1.2.5
aiohttp~=3.8.4