refactor db access

This commit is contained in:
Believethehype
2023-11-19 21:14:25 +01:00
parent ecf1ab3d2e
commit b201384c02
5 changed files with 62 additions and 52 deletions

View File

@@ -100,7 +100,7 @@ class Translation(DVMTaskInterface):
text_part = options["text"][step:length]
try:
translated_text_part = str(gtranslate.translate(text_part, options["translation_lang"]))
print("Translated Text part:\n\n " + translated_text_part)
print("Translated Text part:\n " + translated_text_part)
except Exception as e:
raise Exception(e)