Remove download assertions.
This commit is contained in:
parent
6856c49be9
commit
9333e92891
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user