fix: fixed fluentscan.py script

This commit is contained in:
Observer KRypt0n_ 2023-11-13 16:51:00 +02:00
parent e6076ef4a5
commit cac3497600
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -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()