updates gauge off url

This commit is contained in:
Patrick McDonagh
2016-11-17 16:20:03 -06:00
parent 00c04636c8
commit 6f4f925f76

View File

@@ -216,7 +216,7 @@ def readGaugeOffData():
print("Could not get all gauge off tags: {}".format(e))
return False
post_req = requests.post(API_BASE_URL + "/gauge_off_vals", data=json.dumps(gaugeOffData), headers={'Content-Type': 'application/json'}, verify=False)
post_req = requests.post(API_BASE_URL + "/gauge_off", data=json.dumps(gaugeOffData), headers={'Content-Type': 'application/json'}, verify=False)
try:
post_res_id = json.loads(post_req.text)['_id']
return True