Fixed problem with non unicode path name.

svn: r15435
This commit is contained in:
Peter Landgren 2010-05-21 06:23:53 +00:00
parent 2d8dab099b
commit 8b463b8aae

View File

@ -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
#-------------------------------------------------------------------------