From c5104db5df94daf3d813c2044ee50624d799010f Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 28 Jun 2017 23:26:48 +0200 Subject: [PATCH] Fixed eps count --- pages/anime/anime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/anime/anime.go b/pages/anime/anime.go index d3ac6bf6..c61a6de9 100644 --- a/pages/anime/anime.go +++ b/pages/anime/anime.go @@ -32,7 +32,7 @@ func Get(ctx *aero.Context) string { if len(anime.Episodes) > maxEpisodes { episodesReversed = true - anime.Episodes = anime.Episodes[len(anime.Episodes)-maxEpisodesLongSeries-1:] + anime.Episodes = anime.Episodes[len(anime.Episodes)-maxEpisodesLongSeries:] for i, j := 0, len(anime.Episodes)-1; i < j; i, j = i+1, j-1 { anime.Episodes[i], anime.Episodes[j] = anime.Episodes[j], anime.Episodes[i]