Remove debugging code I left in the last commit accidentally

This commit is contained in:
Kovid Goyal 2022-07-26 08:17:44 +05:30
parent d39c212336
commit 4345ea6602
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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=''))