Sometimes I think and go "wow I'm thinking" but at the end of the day I'm still as dumb as rocks (which fits crunchy rocks I guess)

This commit is contained in:
Hamcha 2018-11-16 16:42:16 +01:00
parent dfc3b5f2ba
commit 5ebb98ec75
Signed by: hamcha
GPG key ID: A40413D21021EAEE

View file

@ -180,7 +180,8 @@ func main() {
gapiCtx = context.Background() gapiCtx = context.Background()
log.Println("[x-emoji] Loading emojis...") log.Println("[x-emoji] Loading emojis...")
emojis, err := emoji.ScanEmojiDirectory(*emojipath) var err error
emojis, err = emoji.ScanEmojiDirectory(*emojipath)
if err != nil { if err != nil {
log.Printf("[x-emoji] Error while loading emojis: %s\n", err.Error()) log.Printf("[x-emoji] Error while loading emojis: %s\n", err.Error())
log.Println("[x-emoji] Emoji support will be disabled") log.Println("[x-emoji] Emoji support will be disabled")