Merge pull request 'by Robin at 20240104; fix divide by 2' (#42) from feat-20230102-001-Robin into test

Reviewed-on: #42
This commit is contained in:
chenhao 2024-01-04 14:54:36 +08:00
commit ae291c5b96
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
}