From 4345ea66028a13361f47d6a076fa1a1cefcef100 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 26 Jul 2022 08:17:44 +0530 Subject: [PATCH] Remove debugging code I left in the last commit accidentally --- kitty/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/window.py b/kitty/window.py index 1cb593781..9f2b5991c 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -813,7 +813,7 @@ class Window: except Exception: hostname = '' remote_hostname = purl.netloc.partition(':')[0] - if True or remote_hostname and remote_hostname != hostname and remote_hostname != 'localhost': + if remote_hostname and remote_hostname != hostname and remote_hostname != 'localhost': self.handle_remote_file(purl.netloc, unquote(purl.path)) return url = urlunparse(purl._replace(netloc=''))