Skip to content

Commit

Permalink
Fix 'Do not use to determine if a sequence is empty' issue in functio…
Browse files Browse the repository at this point in the history
…ns\reconhecimento_de_entidades.py on line 5
  • Loading branch information
mateusfg7 committed Dec 28, 2019
1 parent 4353cbf commit 28e7b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/reconhecimento_de_entidades.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

def reconhecimento_de_entidades(client, arquivo):

if len(arquivo) != 0:
if arquivo:

texto = traduzir('en', arquivo)
input = {"document": texto}
Expand Down

0 comments on commit 28e7b9d

Please sign in to comment.