fix
This commit is contained in:
@ -71,7 +71,7 @@ def update_location():
|
||||
print(lavg)
|
||||
form_data={"sid":hauk_session, "lat":lavg[0],"lon":lavg[1], "time":0.0, "pwd":""}
|
||||
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)
|
||||
|
||||
import math
|
||||
|
||||
Reference in New Issue
Block a user