|
@@ -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,
|