diff --git a/app/dao/jobs_dao.py b/app/dao/jobs_dao.py index 9b3f26247..37a60c8b8 100644 --- a/app/dao/jobs_dao.py +++ b/app/dao/jobs_dao.py @@ -13,7 +13,7 @@ from app.models import ( ServiceDataRetention, Template, ) -from app.utils import hilite, midnight_n_days_ago, utc_now +from app.utils import midnight_n_days_ago, utc_now def dao_get_notification_outcomes_for_job(service_id, job_id): @@ -152,7 +152,7 @@ def dao_create_job(job): ) if diff_time.total_seconds() > 120: # It should be only a few seconds diff at most current_app.logger.error( - f"#notify-admin-1859 Something is wrong with job.created_at! Try resetting it" + "#notify-admin-1859 Something is wrong with job.created_at! Try resetting it" ) job.created_at = now_time dao_update_job(job) diff --git a/app/job/rest.py b/app/job/rest.py index 9d9b02ec7..85414a29c 100644 --- a/app/job/rest.py +++ b/app/job/rest.py @@ -33,7 +33,7 @@ from app.schemas import ( notifications_filter_schema, unarchived_template_schema, ) -from app.utils import hilite, midnight_n_days_ago, pagination_links +from app.utils import midnight_n_days_ago, pagination_links job_blueprint = Blueprint("job", __name__, url_prefix="/service//job")