mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-23 05:16:19 +03:00
fix: fixed fluentscan.py script
This commit is contained in:
parent
e6076ef4a5
commit
cac3497600
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue