Revert some accidental changes >_<
This commit is contained in:
parent
d20872d576
commit
f7b517f3aa
@ -27,6 +27,6 @@
|
|||||||
path=/tmp/qutebrowser_$(mktemp XXXXXXXX).html
|
path=/tmp/qutebrowser_$(mktemp XXXXXXXX).html
|
||||||
|
|
||||||
curl "$QUTE_URL" > $path
|
curl "$QUTE_URL" > $path
|
||||||
xterm -e vim "$path"
|
urxvt -e vim "$path"
|
||||||
|
|
||||||
rm "$path"
|
rm "$path"
|
||||||
|
@ -166,7 +166,6 @@ def fuzzy_url(urlstr, cwd=None, relative=False, do_search=True):
|
|||||||
path = None
|
path = None
|
||||||
|
|
||||||
stripped = urlstr.strip()
|
stripped = urlstr.strip()
|
||||||
|
|
||||||
if path is not None and os.path.exists(path):
|
if path is not None and os.path.exists(path):
|
||||||
log.url.debug("URL is a local file")
|
log.url.debug("URL is a local file")
|
||||||
url = QUrl.fromLocalFile(path)
|
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)
|
url = qurl_from_user_input(stripped)
|
||||||
log.url.debug("Converting fuzzy term {} to URL -> {}".format(
|
log.url.debug("Converting fuzzy term {} to URL -> {}".format(
|
||||||
urlstr, url.toDisplayString()))
|
urlstr, url.toDisplayString()))
|
||||||
|
|
||||||
if do_search and config.get('general', 'auto-search'):
|
if do_search and config.get('general', 'auto-search'):
|
||||||
qtutils.ensure_valid(url)
|
qtutils.ensure_valid(url)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user