Fix protocol detection in _is_url_naive
This commit is contained in:
parent
8b8a17f535
commit
c8882cd75e
@ -72,7 +72,7 @@ def _is_url_naive(url):
|
||||
Return:
|
||||
True if the url really is an URL, False otherwise.
|
||||
"""
|
||||
protocols = ['http://', 'https://']
|
||||
protocols = ['http', 'https']
|
||||
if isinstance(url, QUrl):
|
||||
u = url
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user