浏览代码

to_attr is a literal not a variable, so quote it

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40685 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 15 年之前
父节点
当前提交
9b19ce3b87
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/v.what.vect/v.what.vect.py

+ 1 - 1
scripts/v.what.vect/v.what.vect.py

@@ -80,7 +80,7 @@ def main():
 	to = options['qvector'],
 	column = options['column'],
 	to_column = options['qcolumn'],
-	upload = to_attr,
+	upload = "to_attr",
 	dmax = options['dmax'],
 	from_layer = options['layer'],
 	to_layer = options['qlayer '])