Skip to content
Permalink
Browse files

[Plugin installer] fix #8876

  • Loading branch information
borysiasty committed Oct 17, 2013
1 parent aeef5a8 commit b114dceb1aea15f51b7526d2d1ebfca0f3073c36
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/pyplugin_installer/installer.py
@@ -336,7 +336,7 @@ def installPlugin(self, key, quiet=False):
dlg.exec_()
if dlg.result():
# revert installation
pluginDir = qgis.utils.home_python_pluginpath + "/" + plugin["id"]
pluginDir = qgis.utils.home_plugin_path + "/" + plugin["id"]
removeDir(pluginDir)
if QDir(pluginDir).exists():
infoString = (self.tr("Plugin uninstall failed"), result)
@@ -380,7 +380,7 @@ def uninstallPlugin(self, key, quiet=False):
unloadPlugin(key)
except:
pass
pluginDir = qgis.utils.home_python_pluginpath + "/" + plugin["id"]
pluginDir = qgis.utils.home_plugin_path + "/" + plugin["id"]
result = removeDir(pluginDir)
if result:
QMessageBox.warning(iface.mainWindow(), self.tr("Plugin uninstall failed"), result)

0 comments on commit b114dce

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