From 8b463b8aae2dfdc687d85c1f21b1f3420caf06e7 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Fri, 21 May 2010 06:23:53 +0000 Subject: [PATCH] Fixed problem with non unicode path name. svn: r15435 --- src/plugins/view/geoview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/view/geoview.py b/src/plugins/view/geoview.py index 15da94df7..926ccf5d3 100644 --- a/src/plugins/view/geoview.py +++ b/src/plugins/view/geoview.py @@ -106,7 +106,7 @@ from htmlrenderer import HtmlView # #------------------------------------------------------------------------- #covert to unicode for better hadnling of path in Windows -GEOVIEW_SUBPATH = unicode(Utils.get_empty_tempdir('geoview'), sys.getfilesystemencoding()) +GEOVIEW_SUBPATH = Utils.get_unicode_path(Utils.get_empty_tempdir('geoview')) NB_MARKERS_PER_PAGE = 200 #-------------------------------------------------------------------------