fixed bug

This commit is contained in:
simplypower-bbj
2022-12-18 16:13:31 +01:00
parent 34b3044007
commit 9ad1d7f067
+2
View File
@@ -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...