From 7c3e60dff35883479e8fc4c93d3a62787e60b384 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 5 Nov 2017 23:43:08 +0100 Subject: [PATCH] Updated twist job --- jobs/twist/twist.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jobs/twist/twist.go b/jobs/twist/twist.go index c0c1bf11..0a0db580 100644 --- a/jobs/twist/twist.go +++ b/jobs/twist/twist.go @@ -36,6 +36,11 @@ func main() { // Log fmt.Fprintf(os.Stdout, "[%d / %d] ", count+1, len(idList)) + if anime.Status != "current" { + fmt.Println("Not currently airing - skipping") + continue + } + // Refresh anime.RefreshEpisodes()