Updated mailing.py

This commit is contained in:
salvadorpla 2019-11-30 15:38:52 +01:00
parent aa6df1b616
commit 3061295718
1 changed files with 3 additions and 5 deletions

View File

@ -316,14 +316,12 @@ try:
fp = open('message.txt')
text = fp.read()
message = MIMEText(text)
fp.close()
except:
print("message.txt file not found! Create it and write in the message you want for your inactive users.")
finally:
fp.close()
sys.exit(0)
i = 0
while i < len(inactive_email):