2022-06-19 09:28:07 +00:00
|
|
|
import os
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
# cli.py runs in <repo-root>/files, whereas our relative paths assume
|
|
|
|
# the WD is <repo-root>. NOTE: Change this if cli.py is ever moved.
|
|
|
|
os.chdir(Path(__file__).parent.parent)
|
|
|
|
|
2023-03-16 06:27:58 +00:00
|
|
|
from .__main__ import app, db_session, cache
|
2022-09-20 03:26:43 +00:00
|
|
|
from flask import g
|
|
|
|
import files.helpers.cron
|