Browse Source

Suprime warning de certificado no log

pull/160/head 3.0.23
Sesostris Vieira 2 years ago
parent
commit
517e40f897
  1. 2
      sigi/apps/servicos/models.py

2
sigi/apps/servicos/models.py

@ -135,6 +135,8 @@ class Servico(models.Model):
import requests import requests
from xml.dom.minidom import parseString from xml.dom.minidom import parseString
requests.packages.urllib3.disable_warnings()
def reset(): def reset():
if self.data_ultimo_uso is not None: if self.data_ultimo_uso is not None:
self.data_verificacao = None self.data_verificacao = None

Loading…
Cancel
Save