summaryrefslogtreecommitdiff
path: root/app/Libraries
diff options
context:
space:
mode:
authorhorus2020-10-01 01:15:59 +0200
committerhorus2020-10-01 01:15:59 +0200
commit24583ef2b3e7185f3a3e12cd1566bdada6d2f743 (patch)
treeb3ca7e1bc909e3b4c64d112c2394a7834a014bc7 /app/Libraries
parente6194704303c4e5ad44c1bb9d6c2e17fe5eb133b (diff)
downloadsenpai-24583ef2b3e7185f3a3e12cd1566bdada6d2f743.tar.gz
add form to change season
Diffstat (limited to 'app/Libraries')
-rw-r--r--app/Libraries/Background.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Libraries/Background.php b/app/Libraries/Background.php
index afd92b3..e89e00c 100644
--- a/app/Libraries/Background.php
+++ b/app/Libraries/Background.php
@@ -171,7 +171,9 @@ class Background {
sleep(5);
}
- echo "Got stats for " . $counter . " anime.\n";
+ if ( 0 < $counter ) {
+ echo "Got stats for " . $counter . " anime.\n";
+ }
}
public function checkIfIsAiring() {