mhtml: Ignore non-http(s) assets

This commit is contained in:
Daniel 2015-10-30 19:59:58 +01:00
parent 71533b3456
commit 4f01382c64

View File

@ -288,7 +288,7 @@ class _Downloader():
Args:
url: The file to download as QUrl.
"""
if url.scheme() == 'data':
if url.scheme() not in {'http', 'https'}:
return
# Prevent loading an asset twice
if url in self.loaded_urls: