From 35ad68357976478fb6ed6a6e5907a8f14c44dfbd Mon Sep 17 00:00:00 2001 From: Untone Date: Tue, 14 Nov 2023 21:38:07 +0300 Subject: [PATCH] format+fix-4 --- services/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/core.py b/services/core.py index a6fc536..6fa3141 100644 --- a/services/core.py +++ b/services/core.py @@ -24,7 +24,7 @@ async def get_all_authors(): import traceback traceback.print_exc() - print(f"[services.core] {query_name}: {response.status_code} {response.text}") + print(f"[services.core] {query_name}: {response.status_code} {len(response.text)} bytes") if response.status_code != 200: return None r = response.json() @@ -50,7 +50,7 @@ async def get_my_followings(): import traceback traceback.print_exc() - print(f"[services.core] {query_name}: {response.status_code} {response.text}") + print(f"[services.core] {query_name}: {response.status_code} {len(response.text)} bytes") if response.status_code != 200: return None r = response.json()