update ftp db db session name

main
Marshall Hallenbeck 2023-05-08 19:34:17 -04:00
parent 6de4370a25
commit 321be0f1ac
1 changed files with 1 additions and 2 deletions

View File

@ -22,8 +22,7 @@ class database:
session_factory = sessionmaker(bind=self.db_engine, expire_on_commit=True)
Session = scoped_session(session_factory)
# this is still named "conn" when it is the session object; TODO: rename
self.conn = Session()
self.sess = Session()
@staticmethod
def db_schema(db_conn):