another fucking error
This commit is contained in:
parent
8aaa3beb78
commit
a569996116
1 changed files with 3 additions and 0 deletions
|
@ -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])
|
||||||
|
|
Loading…
Reference in a new issue