Skip to content

Commit b52c155

Browse files
authored
Fixed pylint errors and correct db import
1 parent 27b7ddb commit b52c155

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

conditional/__init__.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
# pylint: disable=C0413
1616

17+
from conditional.models.models import EvalSettings
1718
from conditional.blueprints.dashboard import dashboard_bp
1819
from conditional.blueprints.attendance import attendance_bp
1920
from conditional.blueprints.major_project_submission import major_project_bp
@@ -38,10 +39,6 @@
3839

3940
logger.info('conditional started')
4041

41-
# pylint: disable=C0413
42-
43-
from db.models import EvalSettings
44-
4542
if EvalSettings.query.first() is None:
4643
logger.info("Generating Initial Site Settings")
4744
db.add(EvalSettings())

0 commit comments

Comments
 (0)