Переглянути джерело

do not use str with unicode, relates to https://trac.osgeo.org/grass/ticket/2524

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63943 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 10 роки тому
батько
коміт
904ac98576
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      gui/wxpython/core/utils.py

+ 1 - 1
gui/wxpython/core/utils.py

@@ -198,7 +198,7 @@ def GetValidLayerName(name):
     .. todo::
         Better use directly Ctypes to reuse venerable libgis C fns...
     """
-    retName = str(name).strip()
+    retName = name.strip()
     
     # check if name is fully qualified
     if '@' in retName: