fixed bug
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user