Add missing docstring
This commit is contained in:
parent
7ec62c4523
commit
43b563f600
@ -766,6 +766,7 @@ class DownloadItem(QObject):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def uses_nam(self, nam):
|
def uses_nam(self, nam):
|
||||||
|
"""Check if this download uses the given QNetworkAccessManager."""
|
||||||
running_nam = self._reply is not None and self._reply.manager() is nam
|
running_nam = self._reply is not None and self._reply.manager() is nam
|
||||||
# user could request retry after tab is closed.
|
# user could request retry after tab is closed.
|
||||||
retry_nam = (self.done and (not self.successful) and
|
retry_nam = (self.done and (not self.successful) and
|
||||||
|
Loading…
Reference in New Issue
Block a user