Strip spaces in url string correctly.

This commit is contained in:
Florian Bruhin 2014-09-02 07:49:06 +02:00
parent 96c1d53222
commit 330af95778

View File

@ -194,7 +194,7 @@ def is_url(urlstr):
log.url.debug("Checking if '{}' is a URL (autosearch={}).".format(
urlstr, autosearch))
url = urlstr.strip()
urlstr = urlstr.strip()
qurl = QUrl(urlstr)
if not autosearch: