From 6f4f925f76b5d71bb48f38d7d383ef3d99005e34 Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Thu, 17 Nov 2016 16:20:03 -0600 Subject: [PATCH] updates gauge off url --- dataLogger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataLogger.py b/dataLogger.py index edc2a08..e92275d 100644 --- a/dataLogger.py +++ b/dataLogger.py @@ -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