Bug fixes and Pyrogram bump #23

Merged
profitroll merged 4 commits from dev into master 2023-05-16 15:45:24 +03:00
Showing only changes of commit f5b3335af0 - Show all commits

View File

@ -82,12 +82,12 @@ async def random_pic(token: Union[str, None] = None) -> Tuple[str, str]:
f'{configGet("address", "posting", "api")}/albums/{configGet("album", "posting", "api")}/photos?q=&page_size={configGet("page_size", "posting")}&caption=queue', f'{configGet("address", "posting", "api")}/albums/{configGet("album", "posting", "api")}/photos?q=&page_size={configGet("page_size", "posting")}&caption=queue',
headers={"Authorization": f"Bearer {token}"}, headers={"Authorization": f"Bearer {token}"},
) )
logWrite( # logWrite(
locale("random_pic_response", "console", locale=configGet("locale_log")).format( # locale("random_pic_response", "console", locale=configGet("locale_log")).format(
await resp.json() # await resp.json()
), # ),
debug=True, # debug=True,
) # )
if resp.status != 200: if resp.status != 200:
logWrite( logWrite(
locale( locale(