May fix the escaped quotes not being replaced on the applier

This commit is contained in:
2023-01-03 03:10:48 -03:00
parent a3b5e81cff
commit 18fa0b1ace

View File

@ -87,6 +87,6 @@ with open('original.csv', 'r', encoding='utf-8') as input_file, \
print(f'{Fore.RED}Original: {Fore.RESET}{row[0]} | {Fore.GREEN}Translation: {Fore.RESET}{translation}{" "*10}\n{Fore.CYAN}Estimated time remaining: {str(time_remaining).split(".")[0]} {Fore.YELLOW}({i}/{length})', end="\r")
writer.writerow([row[0], translation])
writer.writerow([row[0].replace('"',r'\"'), translation])
print(f"\n\n{Fore.YELLOW}FINISHED")