diff --git a/seafile-ldap.py b/seafile-ldap.py index 23777e1..b1fd17a 100644 --- a/seafile-ldap.py +++ b/seafile-ldap.py @@ -9,7 +9,7 @@ config.read(cwd + '/config.ini') serverDNS = config['LDAP SERVER']['server'] serverPort = config['LDAP SERVER']['port'] -serverSSL = config['LDAP SERVER']['ssl'] +serverSSL = config['LDAP SERVER'].getboolean('ssl') bindAccount = config['Bind Account']['username'] bindPassword = config['Bind Account']['password']