From 2dfb6d6a565bfd487e887d09cdd020f907842dd4 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 24 Nov 2020 15:26:51 +0100 Subject: [PATCH] restore "or" --- setup-scripts/health-checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-scripts/health-checker.py b/setup-scripts/health-checker.py index fe85bd06..3b7094b1 100755 --- a/setup-scripts/health-checker.py +++ b/setup-scripts/health-checker.py @@ -341,7 +341,7 @@ async def check_portal_size(): message += "Portal has {} files. ".format(num_files) # send a message if we force notification, or just once daily (heartbeat) on 1 AM - if force_notify and datetime.utcnow().hour == 1: + if force_notify or datetime.utcnow().hour == 1: return await send_msg( client, message, force_notify=force_notify )