Fix writing ldap_max_uid

This commit is contained in:
M.Ravi 2023-11-26 09:45:08 +05:30
parent 872fc05fa6
commit 846ce64a38

View file

@ -250,7 +250,7 @@ class LdapManager:
:return:
"""
with open(settings.LDAP_MAX_UID_FILE_PATH, 'w+') as handler:
handler.write(str(max_uid))
handler.write(max_uid)
def _get_max_uid(self):
"""