Use medium size for color calculation

This commit is contained in:
Eduard Urbach 2018-03-23 15:05:14 +01:00
parent 3bc3a2f892
commit 6347a1c97b

View File

@ -43,7 +43,7 @@ func main() {
// work refreshes the average color of the given anime.
func work(anime *arn.Anime) {
base := path.Join(arn.Root, "/images/anime/small/", anime.ID)
base := path.Join(arn.Root, "/images/anime/medium/", anime.ID)
if _, err := os.Stat(base + ".jpg"); err != nil {
color.Red(err.Error())