Renamed email to mail due to naming conflict in python2

pull/1620/head
OzzieIsaacs 4 years ago
parent d406d91856
commit 62dd29d2f3

@ -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()

@ -11,7 +11,6 @@ except ImportError:
from datetime import datetime, timedelta
from collections import namedtuple
from cps import calibre_db
from cps import logger
log = logger.create()

@ -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()

Loading…
Cancel
Save