Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rufener committed Mar 2, 2023
1 parent 2645f25 commit e3a64b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion back/infolica/views/numero.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ def _getNumberId(request, numero, cadastre_id):
Numero.cadastre_id == cadastre_id,
Numero.numero == numero
).first()
return (numero.id, numero.type_id) if numero is not None else None
return (numero.id, numero.type_id) if numero is not None else (None, None)


def _getCadastre(request, cadastre_id):
Expand Down

0 comments on commit e3a64b6

Please sign in to comment.