Some little changes
This commit is contained in:
parent
aa824d3257
commit
dd880b49fb
@ -4,7 +4,7 @@ from dotenv import load_dotenv
|
||||
from ncatbot.core import BotClient, GroupMessage, PrivateMessage
|
||||
from ncatbot.utils import get_log
|
||||
|
||||
load_dotenv(dotenv_path=r"../.env")
|
||||
load_dotenv(dotenv_path=r".env")
|
||||
|
||||
bot = BotClient()
|
||||
_log = get_log()
|
||||
|
@ -4,7 +4,7 @@ from sqlmodel import Field, SQLModel, create_engine
|
||||
from dotenv import load_dotenv
|
||||
from pathlib import Path
|
||||
|
||||
load_dotenv("../../../.env")
|
||||
load_dotenv("../../.env")
|
||||
|
||||
|
||||
class ConnectDatabase(SQLModel, table=True):
|
||||
|
Loading…
x
Reference in New Issue
Block a user