summaryrefslogtreecommitdiff
path: root/qutebrowser/utils/urlutils.py
diff options
context:
space:
mode:
authorarza <arza@arza.us>2019-10-12 22:41:04 +0300
committerarza <arza@arza.us>2019-10-13 01:02:45 +0300
commita55f4db26b4b1caa304dd4b842a4103445fdccc7 (patch)
tree3133d7d308b4348fd5e5049298c019221710235c /qutebrowser/utils/urlutils.py
parent3be04ad8f30a05ed4154d01ada364fcf088d82ba (diff)
downloadqutebrowser-a55f4db26b4b1caa304dd4b842a4103445fdccc7.tar.gz
qutebrowser-a55f4db26b4b1caa304dd4b842a4103445fdccc7.zip
Fix indentation
Diffstat (limited to 'qutebrowser/utils/urlutils.py')
-rw-r--r--qutebrowser/utils/urlutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/utils/urlutils.py b/qutebrowser/utils/urlutils.py
index 0243ed33c..5b5d93301 100644
--- a/qutebrowser/utils/urlutils.py
+++ b/qutebrowser/utils/urlutils.py
@@ -235,8 +235,8 @@ def _has_explicit_scheme(url: QUrl) -> bool:
# using this and want to support e.g. searching for scoped C++
# symbols, we treat this as not a URI anyways.
return bool(url.isValid() and url.scheme() and
- (url.host() or url.path()) and
- not url.path().startswith(':'))
+ (url.host() or url.path()) and
+ not url.path().startswith(':'))
def is_special_url(url: QUrl) -> bool: