Remove debugging code I left in the last commit accidentally
This commit is contained in:
parent
d39c212336
commit
4345ea6602
1 changed files with 1 additions and 1 deletions
|
|
@ -813,7 +813,7 @@ def open_url(self, url: str, hyperlink_id: int, cwd: Optional[str] = None) -> No
|
|||
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=''))
|
||||
|
|
|
|||
Loading…
Reference in a new issue