From a56999611609fd58e322f56cf14355bf5d81ef95 Mon Sep 17 00:00:00 2001 From: echo <91651232+exhq@users.noreply.github.com> Date: Fri, 14 Oct 2022 12:30:43 +0330 Subject: [PATCH] another fucking error --- utils/printing.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/printing.go b/utils/printing.go index 677315d..91d2cbc 100644 --- a/utils/printing.go +++ b/utils/printing.go @@ -55,6 +55,9 @@ func Initcolor() { lines := strings.Split(string(content), "\n") for _, line := range lines { + if line == "" { + continue + } word := strings.Split(line, " ") R, _ := strconv.Atoi(word[1])