From f5b3335af0b2f40645f2ef85af87191734cd3d3a Mon Sep 17 00:00:00 2001 From: Kostiantyn Kuleshov Date: Mon, 24 Apr 2023 14:38:03 +0300 Subject: [PATCH] master (#21) Co-authored-by: Renovate Co-authored-by: profitroll Reviewed-on: https://git.end-play.xyz/profitroll/TelegramPoster/pulls/21 --- modules/api_client.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/api_client.py b/modules/api_client.py index d7cf50b..af0507a 100644 --- a/modules/api_client.py +++ b/modules/api_client.py @@ -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', headers={"Authorization": f"Bearer {token}"}, ) - logWrite( - locale("random_pic_response", "console", locale=configGet("locale_log")).format( - await resp.json() - ), - debug=True, - ) + # logWrite( + # locale("random_pic_response", "console", locale=configGet("locale_log")).format( + # await resp.json() + # ), + # debug=True, + # ) if resp.status != 200: logWrite( locale(