Skip to content

Commit

Permalink
main: trim spaces in config.Cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
radaiming committed Feb 8, 2020
1 parent 9f6dfcb commit 592c636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func main() {
color.Red("%v", err)
return
}
config.Cookie = string(data)
config.Cookie = strings.TrimSpace(string(data))
}
}
var isErr bool
Expand Down

0 comments on commit 592c636

Please sign in to comment.