autopep8 everything

This commit is contained in:
Anthony Wang 2022-05-23 22:42:31 -05:00
parent cf559d1e2e
commit f1e01dc348
Signed by: a
GPG key ID: BC96B00AEC5F2D76
4 changed files with 5 additions and 5 deletions

View file

@ -52,7 +52,7 @@ gidNumber: {uid}'''.format(username=username,
lastname=lastname,
email=email,
uid=uid,
hashedpassword=crypt(password))
hashedpassword=crypt(password))
# Write to file
filename = username + '.ldif'
@ -67,4 +67,3 @@ gidNumber: {uid}'''.format(username=username,
return
configure(username)

View file

@ -1,5 +1,6 @@
def ldappass():
return open('/etc/ldappass', 'r').read().split()[0]
def code():
return open('/etc/ldappass', 'r').read().split()[1]