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