소스 검색

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: