From 2a4e2fc9a2f58fd7996a43b0b58eac6590e53440 Mon Sep 17 00:00:00 2001 From: dddennnisss Date: Sat, 22 Aug 2026 21:27:52 +0700 Subject: [PATCH] =?UTF-8?q?Fix:=20URL=20/check/=20(=D0=B1=D1=8B=D0=BB?= =?UTF-8?q?=D0=BE=20photo-botcheck/=20=E2=80=94=20=D1=82=D0=B5=D1=80=D1=8F?= =?UTF-8?q?=D0=BB=D1=81=D1=8F=20=D1=81=D0=BB=D1=8D=D1=88=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=81=D0=BB=D0=B5=20replace)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../photo_processor.cpython-313.pyc | Bin 11532 -> 11521 bytes photo_bot/photo_processor.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/photo_bot/__pycache__/photo_processor.cpython-313.pyc b/photo_bot/__pycache__/photo_processor.cpython-313.pyc index 3cbe4a98abfcfd01a8f97c2129c8fd12b835caf7..e656c2281c8bfcf5f5261fd59c8c555c85f88531 100644 GIT binary patch delta 47 zcmeB)YK-Fj%*)Hg00c|ccV~7V;dt&=4CE}&6-+|nE*KS B4MP9` delta 58 zcmZpS>WSk0%*)Hg00apuI;O+YUr2b7U&lw#V6&L=x=sol~HD7+nl1Yjgcke MGMD~lIjzS`0O{5d4gdfE diff --git a/photo_bot/photo_processor.py b/photo_bot/photo_processor.py index ea99af4..f7a4abe 100644 --- a/photo_bot/photo_processor.py +++ b/photo_bot/photo_processor.py @@ -202,7 +202,7 @@ def check_photo_api(image_bytes: bytes, timeout: float = 300.0) -> dict: "raw_answer", "forced_moderation", "timings", "ai_metrics"} или {"status": "error", "reason"} """ - url = API_URL.replace("/upload/", "check/") + url = API_URL.replace("/upload/", "/check/") try: response = requests.post( url,