diff --git a/files/cli.py b/files/cli.py index 6f5f7c38f..754685650 100644 --- a/files/cli.py +++ b/files/cli.py @@ -1,7 +1,3 @@ -from .__main__ import app, db_session, cache -from flask import g -import files.helpers.cron - import os from pathlib import Path @@ -9,6 +5,10 @@ from pathlib import Path # the WD is . NOTE: Change this if cli.py is ever moved. os.chdir(Path(__file__).parent.parent) +from .__main__ import app, db_session, cache +from flask import g +import files.helpers.cron + #from flask_migrate import Migrate #from flask_sqlalchemy import SQLAlchemy #import files.classes