Renamed email to mail due to naming conflict in python2

This commit is contained in:
OzzieIsaacs 2020-08-30 08:49:53 +02:00
parent d406d91856
commit 62dd29d2f3
4 changed files with 2 additions and 3 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

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

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