[mail] don't notify if no email
This commit is contained in:
@ -8,6 +8,7 @@ new_mail_list = json.loads(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if new_mail_list:
|
||||||
output = "Mail's here!\n\n"
|
output = "Mail's here!\n\n"
|
||||||
for message in new_mail_list:
|
for message in new_mail_list:
|
||||||
msg = message[0][0]
|
msg = message[0][0]
|
||||||
|
|||||||
Reference in New Issue
Block a user