Commit 452950b0 authored by Lorenz Steinert's avatar Lorenz Steinert

fixed timeout bug

parent 3e958347
......@@ -36,7 +36,7 @@ class Protokollskript:
self.config = configparser.ConfigParser()
self.config.read('./proto.ini')
self.server = ldap.Server("rincewind.fs.physik.uni-kl.de", self.config['SERVER'].getint('connect_timeout'))
self.server = ldap.Server("rincewind.fs.physik.uni-kl.de", connect_timeout=self.config['SERVER'].getint('connect_timeout'))
self.base = "dc=fs,dc=physik,dc=uni-kl,dc=de"
year = str(time.localtime()[0])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment