Commit 5e3d636c828d99a72611aaf027d2897894249bbb
1 parent
7c464ab7
Exists in
master
and in
1 other branch
Modifica retorno caso receba um texto inválido
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/PortGlosa.py
@@ -14,7 +14,7 @@ tradutor = TraduzSentencas() | @@ -14,7 +14,7 @@ tradutor = TraduzSentencas() | ||
14 | 14 | ||
15 | def traduzir(texto, threads=False): | 15 | def traduzir(texto, threads=False): |
16 | if texto.isspace() or texto == "": | 16 | if texto.isspace() or texto == "": |
17 | - return "SELECIONE UM TEXTO" | 17 | + return "ESCOLHER TEXTO" |
18 | 18 | ||
19 | elif threads: | 19 | elif threads: |
20 | return iniciar_com_threads(texto) | 20 | return iniciar_com_threads(texto) |