Skip to content

Commit

Permalink
Update numero.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiny-Kiny authored Jun 10, 2021
1 parent 2f502e0 commit 85eb12b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/numero.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def consultar():
if len(numero) < 1:
ui.error_dialog('Digite algo para consultar')

if '55' not in numero:
ui.error_dialog('Digite o numero no formato 55219××××××××')
if '+55' not in numero:
ui.error_dialog('Digite o numero no formato +55219××××××××')

pm = phonenumbers.parse(numero)
op = carrier.name_for_number(pm, 'pt-br')
Expand Down

0 comments on commit 85eb12b

Please sign in to comment.