diff --git a/api/config_file.go b/api/config_file.go index d5c6ea9..1600f78 100644 --- a/api/config_file.go +++ b/api/config_file.go @@ -17,6 +17,9 @@ func configFileLoad(filepath string) error { scanner := bufio.NewScanner(file) for scanner.Scan() { line := strings.TrimSpace(scanner.Text()) + if line == "" { + continue + } i := strings.Index(line, "=") if i == -1 {