From 4d1635f440bbc1c3e1eea72a34610e76473c1fdf Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 14 Nov 2021 23:30:41 -0500 Subject: [PATCH] missing datadir in the memetizer --- fun.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fun.go b/fun.go index 4f256f4..be27d07 100644 --- a/fun.go +++ b/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