Skip to content

Commit

Permalink
Update python/pyplugin_installer/installer_data.py
Browse files Browse the repository at this point in the history
Co-authored-by: nicogodet <39594821+nicogodet@users.noreply.github.com>
  • Loading branch information
nyalldawson and nicogodet committed Jun 1, 2021
1 parent 00c7232 commit 22cc4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyplugin_installer/installer_data.py
Expand Up @@ -332,7 +332,7 @@ def requestFetching(self, key: str, url: Optional[QUrl] = None, redirectionCount

def fetchingInProgress(self) -> bool:
""" return True if fetching repositories is still in progress """
return any(v['state'] == Repositories.STATE_LOADING for _, v in self.mRepositories.items())
return any(v['state'] == Repositories.STATE_LOADING for v in self.mRepositories.values())

def killConnection(self, key: str):
""" kill the fetching on demand """
Expand Down

0 comments on commit 22cc4da

Please sign in to comment.