add some feedback
This commit is contained in:
parent
160ce3f649
commit
29d2105d65
@ -278,7 +278,7 @@ def check_for_mails():
|
||||
try:
|
||||
rv, data = M.login(EMAIL_ACCOUNT, EMAIL_PSWD)
|
||||
except imaplib.IMAP4.error:
|
||||
print ("LOGIN FAILED!!! ")
|
||||
print("LOGIN FAILED!!! ")
|
||||
sys.exit(1)
|
||||
# rv, mailboxes = M.list()
|
||||
# if rv == 'OK':
|
||||
@ -299,6 +299,6 @@ def check_for_mails():
|
||||
|
||||
if __name__ == "__main__":
|
||||
while True:
|
||||
print("%s: Checking for new registrations mails!" % dt.datetime.now().isoformat())
|
||||
check_for_mails()
|
||||
time.sleep(60)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user