fix
This commit is contained in:
@ -71,7 +71,7 @@ def update_location():
|
|||||||
print(lavg)
|
print(lavg)
|
||||||
form_data={"sid":hauk_session, "lat":lavg[0],"lon":lavg[1], "time":0.0, "pwd":""}
|
form_data={"sid":hauk_session, "lat":lavg[0],"lon":lavg[1], "time":0.0, "pwd":""}
|
||||||
print(form_data)
|
print(form_data)
|
||||||
with requests.post("{hauk_endpoint}/api/post.php", data=form_data) as r:
|
with requests.post(f"{hauk_endpoint}/api/post.php", data=form_data) as r:
|
||||||
print('post.php', r.text)
|
print('post.php', r.text)
|
||||||
|
|
||||||
import math
|
import math
|
||||||
|
|||||||
Reference in New Issue
Block a user