Remove download assertions.
This commit is contained in:
parent
6856c49be9
commit
9333e92891
@ -623,10 +623,8 @@ class DownloadManager(QAbstractListModel):
|
|||||||
data = item
|
data = item
|
||||||
elif role == Qt.ToolTipRole:
|
elif role == Qt.ToolTipRole:
|
||||||
if item.error_msg is None:
|
if item.error_msg is None:
|
||||||
assert item.successful
|
|
||||||
data = QVariant()
|
data = QVariant()
|
||||||
else:
|
else:
|
||||||
assert not item.successful
|
|
||||||
return item.error_msg
|
return item.error_msg
|
||||||
else:
|
else:
|
||||||
data = QVariant()
|
data = QVariant()
|
||||||
|
Loading…
Reference in New Issue
Block a user