sampleData wasn't setting last_send_time either

This commit is contained in:
Patrick McDonagh
2016-05-03 13:27:52 -05:00
parent 00225bd1fc
commit 231039a67a

View File

@@ -60,6 +60,7 @@ class Sample(Tag):
r = requests.post('{}/tag_val'.format(web_address), data=data)
resp = json.loads(r.text)
print("Stored {} for {} at {}".format(resp['val'], self.name, resp['createdAt']))
self.last_send_time = time.time()
tag_store = {}