missing datadir in the memetizer
This commit is contained in:
parent
066a6806bd
commit
4d1635f440
2
fun.go
2
fun.go
|
@ -409,7 +409,7 @@ func memetize(honk *Honk) {
|
||||||
if name[0] == ' ' {
|
if name[0] == ' ' {
|
||||||
name = name[1:]
|
name = name[1:]
|
||||||
}
|
}
|
||||||
fd, err := os.Open("memes/" + name)
|
fd, err := os.Open(dataDir + "/memes/" + name)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("no meme for %s", name)
|
log.Printf("no meme for %s", name)
|
||||||
return x
|
return x
|
||||||
|
|
Loading…
Reference in New Issue