From cac3497600f133219db20cb72d6ee518945eb817 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Mon, 13 Nov 2023 16:51:00 +0200 Subject: [PATCH] fix: fixed fluentscan.py script --- fluentscan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluentscan.py b/fluentscan.py index 8558b8d..8fc858b 100755 --- a/fluentscan.py +++ b/fluentscan.py @@ -168,7 +168,7 @@ if command == "unused": output += f"[en/{all_entries[i][0]}]\n [Unused]\n" output += f" {all_entries[i][1]} | {i} = {every_variable[i].strip()}\n" - output = re.sub("\[en", "\n[en", output) + output = re.sub("\\[en", "\n[en", output) if not output: print("Nothing is unused") @@ -187,7 +187,7 @@ elif command == "missing": output += f"[{missing_entries[i]}]\n [Missing]\n" output += f" {script_entries[i][1]} | {i}\n" - output = re.sub("\[src/", "\n[src/", output) + output = re.sub("\\[src/", "\n[src/", output) if not output: print("Nothing is missing") sys.exit()