Skip to content
Permalink
Browse files

Partially revert fa40e78

It failed to load functional plugins also
  • Loading branch information
m-kuhn committed Feb 15, 2016
1 parent 8a3e943 commit 30910df38830f08aa1bb42a43e0ee132552cae18
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/pyplugin_installer/installer_data.py
@@ -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:

0 comments on commit 30910df

Please sign in to comment.
You can’t perform that action at this time.