Skip to content

Commit 3ab0e3d

Browse files
authored
Fixed
1 parent dd42b5c commit 3ab0e3d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

database/sql.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@
55
from sqlalchemy import Column, TEXT, Numeric
66
from sqlalchemy.ext.declarative import declarative_base
77
from sqlalchemy.orm import sessionmaker, scoped_session
8-
9-
10-
if bool(os.environ.get("ENV", False)):
11-
from sample_config import Config
12-
else:
13-
from config import Config
14-
8+
from config import DB_URI
159

1610
def start() -> scoped_session:
1711
engine = create_engine(Config.DB_URI, client_encoding="utf8")

0 commit comments

Comments
 (0)