From 4aca9af82f4dd1ad67742a00fcc823d52df5c98f Mon Sep 17 00:00:00 2001 From: cqc Date: Sat, 3 Jan 2026 11:33:12 +0100 Subject: [PATCH] fix --- minimap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimap.py b/minimap.py index 00657e0..294c4ea 100644 --- a/minimap.py +++ b/minimap.py @@ -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