From 2ef648df25ad50138550c85524b03cd7818e5564 Mon Sep 17 00:00:00 2001 From: clore Date: Wed, 22 May 2024 00:35:33 +0000 Subject: [PATCH] fix removing custom entrypoints --- lib/custom_entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/custom_entrypoint.py b/lib/custom_entrypoint.py index 8d36a60..5ce8626 100644 --- a/lib/custom_entrypoint.py +++ b/lib/custom_entrypoint.py @@ -63,7 +63,7 @@ def cache_entrypoints(containers): else: valid_conf.append(True) for remaining_file in entrypoint_files: # We can remove files that are not needed anymore - os.remove(remaining_file) + os.remove(os.path.join(config.entrypoints_folder,remaining_file)) return valid_conf except Exception as e: return 'e' \ No newline at end of file