photo_processor.py: verify=False для SSL cert

This commit is contained in:
2026-08-14 12:02:08 +07:00
parent 55d95d3042
commit 0cf46713d4
+2 -1
View File
@@ -101,7 +101,8 @@ def _upload_to_api(image_bytes: bytes, user_id: str, coords: tuple) -> dict:
files={
"image": ("photo.jpg", image_bytes, "image/jpeg")
},
timeout=30
timeout=30,
verify=False
)
response.raise_for_status()
return response.json()