Use medium size for color calculation
This commit is contained in:
parent
3bc3a2f892
commit
6347a1c97b
@ -43,7 +43,7 @@ func main() {
|
|||||||
|
|
||||||
// work refreshes the average color of the given anime.
|
// work refreshes the average color of the given anime.
|
||||||
func work(anime *arn.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 {
|
if _, err := os.Stat(base + ".jpg"); err != nil {
|
||||||
color.Red(err.Error())
|
color.Red(err.Error())
|
||||||
|
Loading…
Reference in New Issue
Block a user