From ceed1ff48f5d4bc7b59a05128886fa46985c2604 Mon Sep 17 00:00:00 2001 From: abhigyanghosh30 Date: Thu, 14 Dec 2023 21:51:39 +0530 Subject: [PATCH] fix: fix lint issues --- webapp/shop/cred/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/shop/cred/views.py b/webapp/shop/cred/views.py index a5051377661..b5b059bcafd 100644 --- a/webapp/shop/cred/views.py +++ b/webapp/shop/cred/views.py @@ -1,6 +1,5 @@ from datetime import datetime, timedelta import math -import sched import pytz import flask import json @@ -117,7 +116,8 @@ def cred_schedule(ua_contracts_api, trueability_api, **_): "/credentials/schedule.html", error=error ) if scheduled_time < now + timedelta(minutes=30): - error = "You cannot schedule an exam less than 30 minutes in the future." + error = """You cannot schedule an exam less than 30 minutes in + the future.""" return flask.render_template( "/credentials/schedule.html", error=error )