restore "or"
This commit is contained in:
parent
383144b7a6
commit
2dfb6d6a56
|
@ -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
|
||||
)
|
||||
|
|
Reference in New Issue