mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat: add project path to python path
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# alembic/env.py
|
||||
import sys
|
||||
from os.path import abspath, dirname
|
||||
|
||||
sys.path.insert(0, dirname(dirname(abspath(__file__))))
|
||||
|
||||
import os
|
||||
from logging.config import fileConfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user