From 35bd4381417e4605ea609798aa4a9a8f433cb9b8 Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Mon, 31 Jan 2022 10:15:52 +0100 Subject: [PATCH] Fixed requests headers --- windowsAgent/source/do.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windowsAgent/source/do.py b/windowsAgent/source/do.py index 090490d..6820f71 100644 --- a/windowsAgent/source/do.py +++ b/windowsAgent/source/do.py @@ -51,7 +51,7 @@ def upload(csvPath): except Exception as e: print(e) headers['X-Intent'] = "C" - request.post(serverUrl,data="Concludo, Presidente",headers) + requests.post(serverUrl,data="Concludo, Presidente",heders=headers) if not storage.exists("lastUpdate"): vprint("Last database update record has been initialized") storage.save("lastUpdate",0)