1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-17 23:34:53 +00:00

Bug fix after merge (renamed variable)

This commit is contained in:
Ozzie Isaacs 2022-04-13 19:34:14 +02:00
parent fe5d684d2c
commit 2f3e5eadeb

View File

@ -857,7 +857,7 @@ def init_db(app_db_path):
def get_new_session_instance():
new_engine = create_engine(u'sqlite:///{0}'.format(cli.settingspath), echo=False)
new_engine = create_engine(u'sqlite:///{0}'.format(cli.settings_path), echo=False)
new_session = scoped_session(sessionmaker())
new_session.configure(bind=new_engine)