From acdf497cfdc741a588ed150aedb45e014e80731e Mon Sep 17 00:00:00 2001 From: Borworntat Dendurongkul Date: Mon, 26 Feb 2024 02:29:23 +0700 Subject: [PATCH] fix: grouper script --- example/scripts/grouper_scripts/avg | 2 +- example/scripts/grouper_scripts/min | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/scripts/grouper_scripts/avg b/example/scripts/grouper_scripts/avg index c20619e..890f1a7 100755 --- a/example/scripts/grouper_scripts/avg +++ b/example/scripts/grouper_scripts/avg @@ -2,7 +2,7 @@ import sys full_score = float(sys.argv[1]) -score = [int(i) for i in sys.argv[2:]] +score = [float(i) for i in sys.argv[2:]] result = 0 for i in score: diff --git a/example/scripts/grouper_scripts/min b/example/scripts/grouper_scripts/min index 88d2902..6c36426 100755 --- a/example/scripts/grouper_scripts/min +++ b/example/scripts/grouper_scripts/min @@ -2,7 +2,7 @@ import sys full_score = float(sys.argv[1]) -score = [int(i) for i in sys.argv[2:]] +score = [float(i) for i in sys.argv[2:]] result = -1