fix: fix group list not correct (close #147)

This commit is contained in:
JustSong
2023-06-12 09:11:48 +08:00
parent ba95b357d1
commit 284666853b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ func GroupRatio2JSONString() string {
}
func UpdateGroupRatioByJSONString(jsonStr string) error {
GroupRatio = make(map[string]float64)
return json.Unmarshal([]byte(jsonStr), &GroupRatio)
}