mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-28 21:41:45 -05:00
fix style checks
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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/<uuid:service_id>/job")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user