From d67479b1fb035da64c8549542cc01dbecc68e15b Mon Sep 17 00:00:00 2001 From: Itai Bohadana Date: Tue, 18 Aug 2026 16:55:56 +0300 Subject: [PATCH] fix: logs --- neotest_python/params_getter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neotest_python/params_getter.py b/neotest_python/params_getter.py index c3ee78e..9c244f7 100644 --- a/neotest_python/params_getter.py +++ b/neotest_python/params_getter.py @@ -24,6 +24,7 @@ SOCKET_ROOT_DIR = Path("/tmp/neotest-python") python_socket_path = ( SOCKET_ROOT_DIR / hashlib.sha1(sys.executable.encode()).digest().hex() ) +python_socket_path.parent.mkdir(exist_ok=True,parents=True) logger = logging.getLogger('neotest-python') logger.addHandler(WatchedFileHandler(filename=python_socket_path.with_suffix('.log')))