Fix protocol detection in _is_url_naive

This commit is contained in:
Florian Bruhin 2014-05-05 13:36:36 +02:00
parent 8b8a17f535
commit c8882cd75e

View File

@ -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: