mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
Fix webconfig URL generation for python3
Closes #1677. Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
This commit is contained in:
parent
ea435d35ad
commit
9bfb4f1e11
1 changed files with 1 additions and 1 deletions
|
@ -861,7 +861,7 @@ where = os.path.dirname(sys.argv[0])
|
||||||
os.chdir(where)
|
os.chdir(where)
|
||||||
|
|
||||||
# Generate a 16-byte random key as a hexadecimal string
|
# 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
|
# Try to find a suitable port
|
||||||
PORT = 8000
|
PORT = 8000
|
||||||
|
|
Loading…
Reference in a new issue