Browse Source

[cli] remove certificate

Maxime Alves LIRMM@home 3 years ago
parent
commit
a37567c984
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      pyheatpump/cli.py

+ 4
- 0
pyheatpump/cli.py View File

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

Loading…
Cancel
Save