Skip to content

Commit

Permalink
chore: uncomment patch statement
Browse files Browse the repository at this point in the history
  • Loading branch information
wenhwang97 committed Feb 29, 2024
1 parent a6528b8 commit c233b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translator/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def translate():
raise Exception("Translation failed")

record["isEnglish"] = True
# requests.patch(url, headers=headers, json=record)
requests.patch(url, headers=headers, json=record)
print(f"[MOF Translator] Translated record: {record.get('originalTitle')}\n to {record.get('translatedTitle')}\n")
except Exception as e:
print(f"[MOF Translator] Error: {e}")
Expand Down

0 comments on commit c233b1f

Please sign in to comment.