I'm a tard

This commit is contained in:
Your New SJW Waifu 2021-08-18 12:04:52 -05:00
parent 85538e5957
commit 17ad535b3c

View File

@ -139,13 +139,13 @@ func findEmotes(dir string, em common.EmotesMap) (common.EmotesMap, error) {
} }
for _, file := range emoteJPGs { for _, file := range emoteJPGs {
gif := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/") jpg := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/")
//common.LogDebugf("Emote JPG: %s", jpg) //common.LogDebugf("Emote JPG: %s", jpg)
em = em.Add(jpg) em = em.Add(jpg)
} }
for _, file := range emoteSVGs { for _, file := range emoteSVGs {
gif := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/") svg := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/")
//common.LogDebugf("Emote SVG: %s", svg) //common.LogDebugf("Emote SVG: %s", svg)
em = em.Add(svg) em = em.Add(svg)
} }