another fucking error

This commit is contained in:
echo 2022-10-14 12:30:43 +03:30
parent 8aaa3beb78
commit a569996116

View file

@ -55,6 +55,9 @@ func Initcolor() {
lines := strings.Split(string(content), "\n") lines := strings.Split(string(content), "\n")
for _, line := range lines { for _, line := range lines {
if line == "" {
continue
}
word := strings.Split(line, " ") word := strings.Split(line, " ")
R, _ := strconv.Atoi(word[1]) R, _ := strconv.Atoi(word[1])