Update smtp.py

This commit is contained in:
SpudGunMan
2024-12-09 21:56:09 -08:00
parent 7e3de5e490
commit 08e3e21306
+1 -1
View File
@@ -100,7 +100,7 @@ def check_email(nodeID, sysop=False):
for address in sms_db[nodeID]:
if address in email_from:
email_body = email_message.get_payload()
logger.info("System: Email received from: " + email_from[:-6] + " for " + nodeID)
logger.info("System: Email received from: " + email_from[:-6] + " for " + str(nodeID))
return email_body.strip()
else:
# Check if email is from sysop