From fe70efb1f377a3f80216144585313617832d3844 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 5 Sep 2025 17:48:34 +0200 Subject: [PATCH] fixed json dumping --- icfprequests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icfprequests.py b/icfprequests.py index 1057768..c950033 100644 --- a/icfprequests.py +++ b/icfprequests.py @@ -13,7 +13,7 @@ def select( id, problem): "id": id, "problemName": problem } - response = requests.post(selectUrl, json=json.dumps(selectJson)) + response = requests.post(selectUrl, json=selectJson) return response.json() def explore( id, plans): @@ -21,7 +21,7 @@ def explore( id, plans): "id": id, "plans": plans } - response = requests.post(exploreUrl, json=json.dumps(exploreJson)) + response = requests.post(exploreUrl, json=exploreJson) return response.json()