by Robin at 20240104; fix divide by 2

This commit is contained in:
Leufolium 2024-01-04 14:54:16 +08:00
parent b7906680aa
commit a98c741f7c
1 changed files with 1 additions and 0 deletions

View File

@ -30,5 +30,6 @@ func (s *ScriptsService) QueryCallCount(url string, logpath string) (count int,
str = strings.ReplaceAll(str, "\n", "")
str = strings.ReplaceAll(str, "\r", "")
count, err = strconv.Atoi(str)
count = count / 2
return
}