Browse Source

Fix Chamado #493294

pull/2345/head
AndreSouto 7 years ago
parent
commit
cd1445386a
  1. 4
      sapl/materia/models.py

4
sapl/materia/models.py

@ -2,7 +2,7 @@
from django.contrib.auth.models import Group
from django.contrib.contenttypes.fields import GenericRelation
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import ObjectDoesNotExist
from django.core.exceptions import ObjectDoesNotExist,MultipleObjectsReturned
from django.db import models
from django.db.models.functions import Concat
from django.template import defaultfilters
@ -271,6 +271,8 @@ class MateriaLegislativa(models.Model):
return protocolo.data
except ObjectDoesNotExist:
pass
except MultipleObjectsReturned:
pass
return ''

Loading…
Cancel
Save