Skip to content
Snippets Groups Projects
Commit 96847fb3 authored by Alê Borba's avatar Alê Borba
Browse files

Atualizando

parents 27e61671 94c2e8b8
No related branches found
No related tags found
No related merge requests found
*.pyc
*.*~
*.swp
run.py
......@@ -36,7 +36,8 @@ def _get_info_from_correios(cep):
@route('/cep/<cep>')
def verifica_cep(cep):
cep = cep.replace('-','')
try:
if re.match('[0-9]{8}', cep):
con = pymongo.MongoClient('localhost')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment