From 43eec235ccac73fbb107013775cee9e1f59ad311 Mon Sep 17 00:00:00 2001 From: ITQ Date: Mon, 3 Mar 2025 02:09:28 +0300 Subject: [PATCH] hehe --- compose.yaml | 2 +- services/checker/main.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/compose.yaml b/compose.yaml index 1c471f1..c79a296 100644 --- a/compose.yaml +++ b/compose.yaml @@ -373,7 +373,7 @@ services: custom_python: image: gitlab.prodcontest.ru:5050/team-15/project/custom-python:latest entrypoint: [""] - command: echo "Image pulled." + command: exit 0 checker: image: gitlab.prodcontest.ru:5050/team-15/project/checker:latest diff --git a/services/checker/main.py b/services/checker/main.py index 9e370b1..4d13a05 100644 --- a/services/checker/main.py +++ b/services/checker/main.py @@ -158,12 +158,12 @@ def run_container_safely( "stderr": f"Container error: {str(e)}", "status": -1, } - finally: - if container: - try: - container.remove(force=True) - except docker.errors.DockerException: - pass + # finally: + # if container: + # try: + # container.remove(force=True) + # except docker.errors.DockerException: + # pass def validate_file_path(path: str) -> bool: