From 9ad1d7f067731ad903fd40599bb9597483ed263d Mon Sep 17 00:00:00 2001 From: simplypower-bbj Date: Sun, 18 Dec 2022 16:13:31 +0100 Subject: [PATCH] fixed bug --- code/translate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/translate.py b/code/translate.py index 45eccdd..34d366c 100644 --- a/code/translate.py +++ b/code/translate.py @@ -55,8 +55,10 @@ def continously_translate(): val_dict['content_en'] = content_en # upload to database insert_translated(val_dict) + print('translated content') print('no more untranslated content located') if __name__ == '__main__': + load_dotenv() continously_translate() # later try to set all empty strings back to null and retranslate failed...