Fix for unsplash pic paths

master
Hamcha 1 year ago
parent 9cd2a8bf2b
commit 66b7d37028
Signed by: Hamcha
GPG Key ID: 1669C533B8CF6D89

@ -10,6 +10,7 @@ import (
"log"
"math/rand"
"os"
"path/filepath"
"strings"
"git.fromouter.space/crunchy-rocks/draw2d"
@ -42,7 +43,7 @@ func unsplash_init() {
assert(err)
for _, file := range files {
pics = append(pics, file.Name())
pics = append(pics, filepath.Join(*unsplashpath, file.Name()))
}
log.Println("[unsplash] Loaded!")