Commit 506679b8 authored by PCoder's avatar PCoder

Bugfix: TypeError: write() argument must be str, not int

Internal Server Error: /ipv6/work/signup/
Traceback (most recent call last):
  File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/", line 34, in inner
    response = get_response(request)
  File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/", line 126, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/", line 124, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "./users/", line 19, in signup
    create_user(username, raw_password, first_name, last_name, email)
  File "./users/", line 38, in create_user
  File "./users/", line 68, in set_max_uid
TypeError: write() argument must be str, not int
parent 0fb34dc5
......@@ -65,7 +65,7 @@ def set_max_uid(max_uid):
with open(settings.LDAP_MAX_UID_PATH, 'w+') as handler:
def get_max_uid():
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