Better handling of path with non ascii in Windows.
svn: r14412
This commit is contained in:
parent
877359d727
commit
21cf179918
@ -38,6 +38,7 @@ Geo View
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gen.ggettext import gettext as _
|
from gen.ggettext import gettext as _
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
import urlparse
|
import urlparse
|
||||||
import const
|
import const
|
||||||
import operator
|
import operator
|
||||||
@ -104,7 +105,8 @@ from htmlrenderer import HtmlView
|
|||||||
# Constants
|
# Constants
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
GEOVIEW_SUBPATH = Utils.get_empty_tempdir('geoview')
|
#covert to unicode for better hadnling of path in Windows
|
||||||
|
GEOVIEW_SUBPATH = unicode(Utils.get_empty_tempdir('geoview'), sys.getfilesystemencoding())
|
||||||
NB_MARKERS_PER_PAGE = 200
|
NB_MARKERS_PER_PAGE = 200
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user