diff --git a/users/ldap_funcs.py b/users/ldap_funcs.py index 1fe25a8..8e8d189 100644 --- a/users/ldap_funcs.py +++ b/users/ldap_funcs.py @@ -65,7 +65,7 @@ def set_max_uid(max_uid): :return: """ with open(settings.LDAP_MAX_UID_PATH, 'w+') as handler: - handler.write(max_uid) + handler.write(str(max_uid)) def get_max_uid():