mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
c30b32553d
commit
082f6d8eb3
|
@ -241,7 +241,7 @@ def _libretranslate(url: str, text: str,
|
||||||
try:
|
try:
|
||||||
response = request.urlopen(req)
|
response = request.urlopen(req)
|
||||||
except BaseException:
|
except BaseException:
|
||||||
print('Unaable to translate: ' + text)
|
print('Unable to translate: ' + text)
|
||||||
return originalText
|
return originalText
|
||||||
|
|
||||||
response_str = response.read().decode()
|
response_str = response.read().decode()
|
||||||
|
|
Loading…
Reference in New Issue