This commit is contained in:
hl committed 2026-05-31 01:13:02 +08:00
1 parent 50c7d1ae92
commit 82d7f6dcfd
1 file changed
+1 -1
+1 -1
View File
@@ -984,7 +984,7 @@ async def get_aggregate(batch_id: int | None = Query(None)):
'performer': prog['performer'],
'category': prog['category'],
'avg_score': round(stat['avg_score'], 3)
if stat.get('avg_score')
if stat['avg_score'] is not None
else None,
'max_score': stat['max_score'],
'min_score': stat['min_score'],