Fixed jobs and patches not building

This commit is contained in:
2017-11-11 12:30:25 +01:00
parent 3b294cd768
commit 8d013c5fb8
3 changed files with 3 additions and 5 deletions

View File

@ -12,10 +12,9 @@ func main() {
color.Yellow("Refreshing anime characters...")
defer arn.Node.Close()
allAnime, _ := arn.AllAnime()
rateLimiter := time.NewTicker(500 * time.Millisecond)
for _, anime := range allAnime {
for anime := range arn.StreamAnime() {
<-rateLimiter.C
chars, err := anime.RefreshAnimeCharacters()