mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-19 00:04:52 -04:00
Partially revert fa40e78
It failed to load functional plugins also
This commit is contained in:
parent
8a3e94365d
commit
30910df388
@ -696,8 +696,8 @@ class Plugins(QObject):
|
||||
# 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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user