From 7da36e8a14d512964e65151593aaa2e4f8b8e852 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Wed, 2 Oct 2024 19:58:36 +0200 Subject: [PATCH] ofc not send 'force' attrib to game... --- nucon/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nucon/core.py b/nucon/core.py index 8df8bcf..426855d 100644 --- a/nucon/core.py +++ b/nucon/core.py @@ -250,7 +250,7 @@ class Nucon(Enum): print(f"Dummy mode: {'Force ' if force else ''}Setting {parameter.name} to {value}") return - response = requests.post(NuconConfig.base_url, params={"variable": parameter.name, "value": str(value), "force": str(force).lower()}) + response = requests.post(NuconConfig.base_url, params={"variable": parameter.name, "value": str(value)}) if response.status_code != 200: raise Exception(f"Failed to set parameter {parameter.name}. Status code: {response.status_code}")