This commit is contained in:
cqc
2026-01-03 11:33:12 +01:00
parent c24598a511
commit 4aca9af82f

View File

@ -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