浏览代码

make check_stds accept unicode

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@74285 15284696-431f-4ddb-bdfa-cd5b030d7da7
Stefan Blumentrath 6 年之前
父节点
当前提交
8714ee55ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/python/temporal/temporal_algebra.py

+ 1 - 1
lib/python/temporal/temporal_algebra.py

@@ -1158,7 +1158,7 @@ class TemporalAlgebraParser(object):
 
         :return: List of maps.
         """
-        if isinstance(input, str):
+        if isinstance(input, unicode) or isinstance(input, str):
             # Check for mapset in given stds input.
             if input.find("@") >= 0:
                 id_input = input