diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py index 43d2ced0d..302584cd0 100755 --- a/share/tools/web_config/webconfig.py +++ b/share/tools/web_config/webconfig.py @@ -654,7 +654,7 @@ where = os.path.dirname(sys.argv[0]) os.chdir(where) # Generate a 16-byte random key as a hexadecimal string -authkey = binascii.b2a_hex(os.urandom(16)) +authkey = binascii.b2a_hex(os.urandom(16)).decode('ascii') # Try to find a suitable port PORT = 8000