Fixed problem with non unicode path name.

svn: r15434
This commit is contained in:
Peter Landgren 2010-05-21 06:22:24 +00:00
parent 9a6a01fabb
commit 59acfc216d

View File

@ -110,7 +110,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
DISABLED = -1