Skip to content

Commit

Permalink
Partially revert fa40e78
Browse files Browse the repository at this point in the history
It failed to load functional plugins also
  • Loading branch information
m-kuhn committed Feb 15, 2016
1 parent 8a3e943 commit 30910df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyplugin_installer/installer_data.py
Expand Up @@ -696,8 +696,8 @@ def getAllInstalled(self, testLoad=True):
# readOnly = not QFileInfo(pluginsPath).isWritable() # On windows testing the writable status isn't reliable.
readOnly = isTheSystemDir # Assume only the system plugins are not writable.
# only test those not yet loaded. Loaded plugins already proved they're o.k.
failedToLoad = settings.value("/PythonPlugins/watchDog/" + key) is not None
testLoadThis = testLoad and key not in qgis.utils.plugins and not failedToLoad
# failedToLoad = settings.value("/PythonPlugins/watchDog/" + key) is not None
testLoadThis = testLoad and key not in qgis.utils.plugins
plugin = self.getInstalledPlugin(key, path=path, readOnly=readOnly, testLoad=testLoadThis)
self.localCache[key] = plugin
if key in self.localCache.keys() and compareVersions(self.localCache[key]["version_installed"], plugin["version_installed"]) == 1:
Expand Down

0 comments on commit 30910df

Please sign in to comment.