restore "or"

This commit is contained in:
Karol Wypchlo 2020-11-24 15:26:51 +01:00
parent 383144b7a6
commit 2dfb6d6a56
1 changed files with 1 additions and 1 deletions

View File

@ -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
)