Administrator
2025-07-07 b381f779ae142d4c63c89ed38942d5920e71b87e
build_server.py
@@ -5,7 +5,7 @@
import socketserver
import subprocess
from http.server import BaseHTTPRequestHandler
from log_module.log import logger_system, logger_request_api
from log_module.log import logger_system, logger_request_api, logger_debug
from utils import tool
@@ -35,6 +35,7 @@
            root_dir = ps_dict.get("dir")
            script = ps_dict.get("script")
            output_file = ps_dict.get("output")
            logger_debug.info(f"编译: dir - 【{root_dir}】, script - 【{script}】, output - 【{output_file}】 ")
            output_file_path = os.path.join(root_dir, output_file)
            if os.path.exists(output_file_path):
                os.remove(output_file_path)