From b0a055a8709558e3a92f59bc96560fa4a6a1b8bb Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sun, 30 Aug 2020 13:31:59 -0400 Subject: [PATCH] Rename email.py -> mail.py to avoid shadowing standard email module --- cps/helper.py | 2 +- cps/tasks/convert.py | 2 +- cps/tasks/{email.py => mail.py} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename cps/tasks/{email.py => mail.py} (100%) diff --git a/cps/helper.py b/cps/helper.py index 624a3b54..a37fbb15 100644 --- a/cps/helper.py +++ b/cps/helper.py @@ -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() diff --git a/cps/tasks/convert.py b/cps/tasks/convert.py index 5060c29e..09263964 100644 --- a/cps/tasks/convert.py +++ b/cps/tasks/convert.py @@ -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() diff --git a/cps/tasks/email.py b/cps/tasks/mail.py similarity index 100% rename from cps/tasks/email.py rename to cps/tasks/mail.py