From 304db0d20ea465d98ce1e12cfe81c4e7a616be31 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Fri, 14 Jun 2019 22:55:17 +0200 Subject: [PATCH] Solve typo --- cps/ub.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cps/ub.py b/cps/ub.py index e8f9947d..f0091f2f 100644 --- a/cps/ub.py +++ b/cps/ub.py @@ -403,7 +403,7 @@ class Config: self.config_ldap_require_cert = data.config_ldap_require_cert self.config_ldap_cert_path = data.config_ldap_cert_path self.config_ldap_dn = data.config_ldap_dn - self.config_ldap_user_object = data.config_ldap_user_object + self.config_ldap_user_object = data.config_ldap_user_object self.config_ldap_openldap = data.config_ldap_openldap if data.config_mature_content_tags: self.config_mature_content_tags = data.config_mature_content_tags @@ -709,7 +709,7 @@ def migrate_Database(): session.query(exists().where(Settings.config_ldap_schema)).scalar() except exc.OperationalError: conn = engine.connect() - conn.execute("ALTER TABLE Settings ADD column `config_ldap_schema ` String DEFAULT ''") + conn.execute("ALTER TABLE Settings ADD column `config_ldap_schema` String DEFAULT ''") session.commit() try: session.query(exists().where(Settings.config_ldap_serv_username)).scalar() @@ -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()