Rename email.py -> mail.py to avoid shadowing standard email module

This commit is contained in:
blitzmann 2020-08-30 13:31:59 -04:00
parent 9b9e29a3b6
commit b0a055a870
3 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ from . import gdriveutils as gd
from .constants import STATIC_DIR as _STATIC_DIR
from .subproc_wrapper import process_wait
from .services.worker import WorkerThread, STAT_WAITING, STAT_FAIL, STAT_STARTED, STAT_FINISH_SUCCESS
from .tasks.email import TaskEmail
from .tasks.mail import TaskEmail
log = logger.create()

View File

@ -14,7 +14,7 @@ from cps import logger, config
from cps.subproc_wrapper import process_open
from flask_babel import gettext as _
from cps.tasks.email import TaskEmail
from cps.tasks.mail import TaskEmail
from cps import gdriveutils
log = logger.create()