浏览代码

v.category: fix Windows bug, see http://osgeo-org.1560.x6.nabble.com/problems-running-v-centroids-td5266061.html

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68954 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 8 年之前
父节点
当前提交
88424d0f18
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/v.centroids/v.centroids.py

+ 1 - 1
scripts/v.centroids/v.centroids.py

@@ -59,7 +59,7 @@ def main():
         if num_bound == 0:
             gscript.fatal(_("Input vector map contains no boundaries."))
 
-        gscript.exec_command("v.category", type='area', **options)
+        gscript.run_command("v.category", type='area', **options)
 
     sys.exit(0)