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']}",
|
url=f"{self.config['libretranslate_url']}",
|
||||||
data=data,
|
data=data,
|
||||||
)
|
)
|
||||||
|
self.last_translation_response = None
|
||||||
try:
|
try:
|
||||||
self.last_translation_response = response.json()
|
self.last_translation_response = response.json()
|
||||||
translation = self.last_translation_response['translatedText']
|
translation = self.last_translation_response['translatedText']
|
||||||
|
|
Loading…
Reference in a new issue