Fix lint
This commit is contained in:
parent
ba108e89ac
commit
9b42617c76
@ -176,7 +176,6 @@ class DownloadItem(QObject):
|
||||
os.remove(self.filename)
|
||||
self.finished.emit()
|
||||
|
||||
|
||||
def set_filename(self, filename):
|
||||
"""Set the filename to save the download to.
|
||||
|
||||
|
@ -88,7 +88,7 @@ class DownloadModel(QAbstractListModel):
|
||||
data = QVariant()
|
||||
return data
|
||||
|
||||
def flags(self, index):
|
||||
def flags(self, _index):
|
||||
"""Override flags so items aren't selectable.
|
||||
|
||||
The default would be Qt.ItemIsEnabled | Qt.ItemIsSelectable."""
|
||||
|
Loading…
Reference in New Issue
Block a user