add default

This commit is contained in:
Antonio J. Delgado 2025-02-17 15:40:30 +02:00
parent ed16a1838b
commit bdda8d55b8

View file

@ -308,6 +308,7 @@ class MastodonEmailBridge:
url=f"{self.config['libretranslate_url']}",
data=data,
)
self.last_translation_response = None
try:
self.last_translation_response = response.json()
translation = self.last_translation_response['translatedText']