hotfix mailserver.py

.lower() not .lower
This commit is contained in:
EOCommunity 2021-04-05 00:06:02 +02:00 committed by GitHub
parent cc3ce6c440
commit 891de080dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ class CustomSMTPServer(smtpd.SMTPServer):
filenamebase = str(int(round(time.time() * 1000)))
for em.lower in rcpttos:
for em.lower() in rcpttos:
if not os.path.exists("../data/"+em):
os.mkdir( "../data/"+em, 0755 )