fix emailConf.py error

File "config/emailConf.py", line 5, in <module>
    from config.ticketConf import _get_yaml
ImportError: No module named config.ticketConf
pull/26/head
metal A-wing 2018-01-25 10:59:45 +08:00 committed by GitHub
parent c28899e47a
commit ed77ec4cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
__author__ = 'MR.wen'
from email.header import Header
from email.mime.text import MIMEText
from config.ticketConf import _get_yaml
from ticketConf import _get_yaml
import smtplib
@ -39,4 +39,4 @@ def sendEmail(msg):
if __name__ == '__main__':
sendEmail(1)
sendEmail(1)