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

Reviewed-on: #43
This commit is contained in:
chenhao 2024-01-04 15:03:01 +08:00
commit 5050e01352
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, "\n", "")
str = strings.ReplaceAll(str, "\r", "") str = strings.ReplaceAll(str, "\r", "")
count, err = strconv.Atoi(str) count, err = strconv.Atoi(str)
count = count / 2
return return
} }