mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-21 09:02:33 +02:00
Update smtp.py
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user