summaryrefslogtreecommitdiff
path: root/qutebrowser
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser')
-rw-r--r--qutebrowser/browser/browsertab.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/qutebrowser/browser/browsertab.py b/qutebrowser/browser/browsertab.py
index 1e63250ef..4e73e253c 100644
--- a/qutebrowser/browser/browsertab.py
+++ b/qutebrowser/browser/browsertab.py
@@ -1231,8 +1231,9 @@ class AbstractTab(QWidget):
def __repr__(self) -> str:
try:
qurl = self.url()
- url = qurl.toDisplayString(
- QUrl.FormattingOptions(QUrl.ComponentFormattingOption.EncodeUnicode)) # type: ignore[arg-type]
+ url = qurl.toDisplayString()
+ # FIXME figure out why this results in AttributeError
+ # QUrl.FormattingOption(QUrl.ComponentFormattingOption.EncodeUnicode)) # type: ignore[arg-type]
except (AttributeError, RuntimeError) as exc:
url = '<{}>'.format(exc.__class__.__name__)
else: