Fixes: forgot to rename removed variable instances
This commit is contained in:
parent
1b31a3fee4
commit
b2c7ab9211
@ -185,7 +185,7 @@ def fuzzy_url(urlstr, cwd=None, relative=False, do_search=True):
|
||||
if path is not None and os.path.exists(path):
|
||||
log.url.debug("URL is a local file")
|
||||
url = QUrl.fromLocalFile(path)
|
||||
elif (not do_search) or is_url(stripped):
|
||||
elif (not do_search) or is_url(urlstr):
|
||||
# probably an address
|
||||
log.url.debug("URL is a fuzzy address")
|
||||
url = qurl_from_user_input(urlstr)
|
||||
@ -194,7 +194,7 @@ def fuzzy_url(urlstr, cwd=None, relative=False, do_search=True):
|
||||
try:
|
||||
url = _get_search_url(urlstr)
|
||||
except ValueError: # invalid search engine
|
||||
url = qurl_from_user_input(stripped)
|
||||
url = qurl_from_user_input(urlstr)
|
||||
log.url.debug("Converting fuzzy term {} to URL -> {}".format(
|
||||
urlstr, url.toDisplayString()))
|
||||
if do_search and config.get('general', 'auto-search'):
|
||||
|
Loading…
Reference in New Issue
Block a user