pull/10/head
ParisNeo 2023-03-28 00:22:43 +02:00
parent 4cd4b43ee5
commit 4e924c95fe
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ class Script(scripts.Script):
self.language.visible=False
return [self.language]
def before_process_batch(self, p, language, **kwargs):
def process(self, p, language, **kwargs):
print(f"{self.enable_translation.value}")
if hasattr(self, "translator") and self.is_active:
print(f"Translating to English from {language_options[language].label}")