Revert some accidental changes >_<

This commit is contained in:
Martin Tournoij 2015-05-29 17:08:01 +02:00
parent d20872d576
commit f7b517f3aa
2 changed files with 1 additions and 3 deletions

View File

@ -27,6 +27,6 @@
path=/tmp/qutebrowser_$(mktemp XXXXXXXX).html
curl "$QUTE_URL" > $path
xterm -e vim "$path"
urxvt -e vim "$path"
rm "$path"

View File

@ -166,7 +166,6 @@ def fuzzy_url(urlstr, cwd=None, relative=False, do_search=True):
path = None
stripped = urlstr.strip()
if path is not None and os.path.exists(path):
log.url.debug("URL is a local file")
url = QUrl.fromLocalFile(path)
@ -182,7 +181,6 @@ def fuzzy_url(urlstr, cwd=None, relative=False, do_search=True):
url = qurl_from_user_input(stripped)
log.url.debug("Converting fuzzy term {} to URL -> {}".format(
urlstr, url.toDisplayString()))
if do_search and config.get('general', 'auto-search'):
qtutils.ensure_valid(url)
else: