hotfix mailserver.py
.lower() not .lower
This commit is contained in:
parent
cc3ce6c440
commit
891de080dc
|
@ -89,7 +89,7 @@ class CustomSMTPServer(smtpd.SMTPServer):
|
||||||
|
|
||||||
filenamebase = str(int(round(time.time() * 1000)))
|
filenamebase = str(int(round(time.time() * 1000)))
|
||||||
|
|
||||||
for em.lower in rcpttos:
|
for em.lower() in rcpttos:
|
||||||
if not os.path.exists("../data/"+em):
|
if not os.path.exists("../data/"+em):
|
||||||
os.mkdir( "../data/"+em, 0755 )
|
os.mkdir( "../data/"+em, 0755 )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue