Explorar el Código

[cli] remove certificate

Maxime Alves LIRMM@home hace 3 años
padre
commit
a37567c984
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      pyheatpump/cli.py

+ 4
- 0
pyheatpump/cli.py Ver fichero

171
 
171
 
172
     build_url = lambda d: '{scheme}://{hostname}:{port}{path}'.format(**d)
172
     build_url = lambda d: '{scheme}://{hostname}:{port}{path}'.format(**d)
173
 
173
 
174
+    """
175
+    @TODO : Use a proper certificate 
176
+
174
     if base_url['scheme'] == 'https':
177
     if base_url['scheme'] == 'https':
175
         certificate = config.get('supervisor', 'certificate')
178
         certificate = config.get('supervisor', 'certificate')
176
         if not os.path.isfile(certificate):
179
         if not os.path.isfile(certificate):
178
         print(certificate)
181
         print(certificate)
179
     else:
182
     else:
180
         certificate = None
183
         certificate = None
184
+    """
181
 
185
 
182
     post_url = {
186
     post_url = {
183
         **base_url,
187
         **base_url,

Loading…
Cancelar
Guardar