Bug fixes and Pyrogram bump #23

Merged
profitroll merged 4 commits from dev into master 2023-05-16 15:45:24 +03:00
2 changed files with 3 additions and 3 deletions

View File

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

View File

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