We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20b5cb8 commit 8aad324Copy full SHA for 8aad324
notebook/base/handlers.py
@@ -471,10 +471,6 @@ def check_host(self):
471
if host.startswith('[') and host.endswith(']'):
472
host = host[1:-1]
473
474
- if not PY3:
475
- # ip_address only accepts unicode on Python 2
476
- host = host.decode('utf8', 'replace')
477
-
478
# UNIX socket handling
479
check_host = urldecode_unix_socket_path(host)
480
if check_host.startswith('/') and os.path.exists(check_host):
0 commit comments