From d450abe12f84dc09cee75a4bc0c2a7d8e6f3c695 Mon Sep 17 00:00:00 2001 From: checkymander Date: Wed, 22 Jan 2025 22:53:59 -0500 Subject: [PATCH] fix case insensitivity --- Payload_Type/athena/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Payload_Type/athena/main.py b/Payload_Type/athena/main.py index 1b85cfd8..f9073908 100644 --- a/Payload_Type/athena/main.py +++ b/Payload_Type/athena/main.py @@ -61,7 +61,7 @@ def process_csproj_files(directory, placeholder): for csproj_file in csproj_files: print(csproj_file) - if csproj_file.lower().endswith("AthenaCore.csproj"): + if csproj_file.endswith("AthenaCore.csproj"): replace_placeholder_in_file(csproj_file, placeholder, agent_replacement_text) else: replace_placeholder_in_file(csproj_file, placeholder, replacement_text)