SFS/app.py

11 lines
264 B
Python

import os
import sys
here = os.path.dirname(os.path.abspath(__file__))
os.chdir(here)
sys.path.insert(0,here+'/venv/lib/python{}.{}/site-packages'.format(sys.version_info.major, sys.version_info.minor))
sys.path.insert(0,here)
import settings
from fs import app