From 02dc8a83717721b4516f6af2461548fc2f968bde Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sun, 21 Jun 2020 19:05:25 +0200 Subject: [PATCH] add action field to balance response --- python/httpAPI.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/httpAPI.py b/python/httpAPI.py index 0b318eb..7f9f6d7 100644 --- a/python/httpAPI.py +++ b/python/httpAPI.py @@ -41,6 +41,7 @@ def getOutcomePrediction(): balanceSuggestion, qualityOfSuggestion = ts.balance(playersA+playersB) retData = dict() + retData.update( { "action" : "balance" } ) retData.update( { "quality" : quality } ) retData.update( { "prediction" : prediction } ) retData.update( { "prediction-confidence" : confidence } )