aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar qjcg <john.gosset@gmail.com>2014-09-12 11:36:28 -0400
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2014-09-15 16:41:15 +0800
commit7f4908b0db5f14566f9881c9ac01154eaba78ee3 (patch)
tree251761df384502f4a72075469564941691c41244 /share
parent482e615fe0dbf6a5dd261451201d8217fb123564 (diff)
Fix webconfig URL generation for python3
Closes #1677. Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
Diffstat (limited to 'share')
-rwxr-xr-xshare/tools/web_config/webconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py
index 43d2ced0..302584cd 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