[QGIS Commit] r8528 - trunk/qgis/python/plugins/plugin_installer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue May 27 07:42:23 EDT 2008


Author: wonder
Date: 2008-05-27 07:42:22 -0400 (Tue, 27 May 2008)
New Revision: 8528

Modified:
   trunk/qgis/python/plugins/plugin_installer/dialog.py
Log:
support for non-ascii characters in path to home directory.


Modified: trunk/qgis/python/plugins/plugin_installer/dialog.py
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/dialog.py	2008-05-27 08:22:31 UTC (rev 8527)
+++ trunk/qgis/python/plugins/plugin_installer/dialog.py	2008-05-27 11:42:22 UTC (rev 8528)
@@ -102,7 +102,7 @@
     if not repository:
       return
     repository_url = str(repository[1])
-    plugindir = str(QgsApplication.qgisSettingsDirPath()) + "/python/plugins"
+    plugindir = unicode(QgsApplication.qgisSettingsDirPath(),'utf-8') + "/python/plugins"
     
     QApplication.setOverrideCursor(Qt.WaitCursor)
     from qgis_plugins import retrieve_list, install_plugin



More information about the QGIS-commit mailing list