From 64225a607ab495afbf47f6cc0cef901a46295fd2 Mon Sep 17 00:00:00 2001 From: Narek Mkhitaryan Date: Wed, 16 Jul 2025 17:59:07 +0400 Subject: [PATCH] version update --- requirements.txt | 2 +- src/superannotate/__init__.py | 2 +- src/superannotate/lib/infrastructure/services/http_client.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index a289dc6a6..03143bcb7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ plotly~=5.14 pandas~=2.0 ffmpeg-python~=0.2 pillow>=9.5,~=10.0 -tqdm~=4.66.1 +tqdm~=4.66 requests==2.* aiofiles==23.* fire==0.4.0 diff --git a/src/superannotate/__init__.py b/src/superannotate/__init__.py index 6beddbe4f..2390b15c4 100644 --- a/src/superannotate/__init__.py +++ b/src/superannotate/__init__.py @@ -3,7 +3,7 @@ import sys -__version__ = "4.4.36" +__version__ = "4.4.37" os.environ.update({"sa_version": __version__}) diff --git a/src/superannotate/lib/infrastructure/services/http_client.py b/src/superannotate/lib/infrastructure/services/http_client.py index 71971a207..4f627038e 100644 --- a/src/superannotate/lib/infrastructure/services/http_client.py +++ b/src/superannotate/lib/infrastructure/services/http_client.py @@ -295,7 +295,7 @@ def serialize_response( else: data["res_data"] = data_json return content_type(**data) - except json.decoder.JSONDecodeError: + except ValueError: data["res_error"] = response.content data["reason"] = response.reason return content_type(**data)