1
Fork 0

vaste http eruit gehaald, cross fingers

This commit is contained in:
Ventilaar 2021-10-28 16:13:05 +02:00
parent 7678c358ef
commit fdb87ece2f
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def get_network_troughput():
def post_json(blob, ma, mp):
r = requests.post(f'http://{ma}:{mp}/api/v1/host/post', json=blob)
r = requests.post(f'{ma}:{mp}/api/v1/host/post', json=blob)
if r.status_code != 200:
print(f'Error posting, got HTTP status code {r.status_code}, exiting with code 1!')
exit(1)