From b9c2b2b2a1d6c9264839af66f58b7f9497f0e55f Mon Sep 17 00:00:00 2001 From: Unkovic7 Date: Tue, 2 Apr 2024 00:41:36 +0200 Subject: [PATCH] Fixed directory empty handle; --- pulse/build/build_compile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pulse/build/build_compile.py b/pulse/build/build_compile.py index 041332a..9cd5593 100644 --- a/pulse/build/build_compile.py +++ b/pulse/build/build_compile.py @@ -54,7 +54,8 @@ def compile(entry, output, version, options: list, modules: list, legacy: list, # now everything is fine, let's fire building with the options #create a path directory, file = os.path.split(output) - os.makedirs(directory, exist_ok=True) + if not directory == "": + os.makedirs(directory, exist_ok=True) pawncc = [version_path_exe] + options + [entry] subprocess.run(pawncc)