1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-15 14:24:57 +00:00

Solve typo

This commit is contained in:
Krakinou 2019-06-14 22:55:17 +02:00
parent 79286c9384
commit 304db0d20e

View File

@ -728,7 +728,7 @@ def migrate_Database():
session.query(exists().where(Settings.config_ldap_use_tls)).scalar()
except exc.OperationalError:
conn = engine.connect()
conn.execute("ALTER TABLE Settings ADD column `cconfig_ldap_use_tls` INTEGER DEFAULT 0")
conn.execute("ALTER TABLE Settings ADD column `config_ldap_use_tls` INTEGER DEFAULT 0")
session.commit()
try:
session.query(exists().where(Settings.config_ldap_require_cert)).scalar()