diff --git a/qutebrowser/browser/downloads.py b/qutebrowser/browser/downloads.py index 2802baf5b..641621bd2 100644 --- a/qutebrowser/browser/downloads.py +++ b/qutebrowser/browser/downloads.py @@ -623,10 +623,8 @@ class DownloadManager(QAbstractListModel): data = item elif role == Qt.ToolTipRole: if item.error_msg is None: - assert item.successful data = QVariant() else: - assert not item.successful return item.error_msg else: data = QVariant()