add default
This commit is contained in:
parent
ed16a1838b
commit
bdda8d55b8
1 changed files with 1 additions and 0 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue