From 35f1fa37f3edd51615dad1bcb063fae36e3322be Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Tue, 1 Oct 2024 13:24:53 -0400 Subject: [PATCH] fix: typo --- joint_teapot/utils/joj3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/joint_teapot/utils/joj3.py b/joint_teapot/utils/joj3.py index f4612cf..bc84b29 100644 --- a/joint_teapot/utils/joj3.py +++ b/joint_teapot/utils/joj3.py @@ -87,7 +87,7 @@ def generate_scoreboard( columns.index("last_edit") ] = now # FIXME: Delete this in formal version - # Sort data by total, from low to high + # Sort data by total, from low to high data.sort(key=lambda x: int(x[columns.index("total")])) # Write back to the csv file: