Browse Source

Merge branch 'stable/2.2' of https://github.com/interlegis/sigi into new_sigi

pull/95/head
Lude Ribeiro 3 years ago
parent
commit
1ac87f824c
  1. 4
      sigi/apps/convenios/models.py

4
sigi/apps/convenios/models.py

@ -490,7 +490,7 @@ class Gescon(models.Model):
projeto = Projeto.objects.get(sigla=sigla_sigi)
try:
response = requests.get(url)
response = requests.get(url, verify=False)
except Exception as e:
self.add_message(
_(u"\tErro ao acessar {url}: {errmsg}").format(
@ -775,4 +775,4 @@ class Gescon(models.Model):
@classmethod
def load(cls):
obj, created = cls.objects.get_or_create(pk=1)
return obj
return obj

Loading…
Cancel
Save