From 0352326f44aa9d0124e7962e9ad46a40d8bc2837 Mon Sep 17 00:00:00 2001 From: Victor Fabre Date: Mon, 17 Sep 2018 11:06:00 -0300 Subject: [PATCH] Fix #2204 (#2212) --- sapl/materia/views.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sapl/materia/views.py b/sapl/materia/views.py index 622383726..050be7ba6 100644 --- a/sapl/materia/views.py +++ b/sapl/materia/views.py @@ -744,6 +744,10 @@ class ProposicaoCrud(Crud): % (p.tipo, numero, p.ano))) except ValueError: pass + except AttributeError: + pass + except TypeError: + pass elif action == 'return': if not p.data_envio: