瀏覽代碼

fix grass.py layer name

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35472 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 年之前
父節點
當前提交
85487e9378
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lib/python/grass.py

+ 2 - 1
lib/python/grass.py

@@ -455,8 +455,9 @@ def vector_db(map, **args):
 	f = l.split('|')
 	if len(f) != 5:
 	    continue
+        
         if '/' in f[0]:
-            f1 = f.split('/')
+            f1 = f[0].split('/')
             layer = f1[0]
             name = f1[1]
         else: