Commit 797b0aad authored by Lorenz Steinert's avatar Lorenz Steinert

renamed class fsr_ldap to FsrLdap and made changes acordigliy

parent 9e1d29d6
......@@ -28,7 +28,7 @@ def current_user():
return getpass.getuser()
class fsr_ldap:
class FsrLdap:
"""Class die die protokoll .tex datei erstellt"""
def __init__(self, debug=False, timeout=1):
......
......@@ -12,7 +12,7 @@ import sys
import shutil
import codecs
import argparse
from module.esme import fsr_ldap, get_date, get_sprecher, get_config, get_share, get_path
from module.esme import FsrLdap, get_date, get_sprecher, get_config, get_share, get_path
def build_parser():
......@@ -173,11 +173,11 @@ if __name__ == "__main__":
TABDEF = "||"
if OPT.test:
ESME = fsr_ldap(OPT.debug,
timeout=1)
ESME = FsrLdap(OPT.debug,
timeout=1)
else:
ESME = fsr_ldap(OPT.debug,
timeout=CONFIG['SERVER'].getint('connect_timeout'))
ESME = FsrLdap(OPT.debug,
timeout=CONFIG['SERVER'].getint('connect_timeout'))
print("\n")
print("Wenn der Standardwert (in []) stimmt einfach Enter!\n")
......
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