Browse Source

db.test: fix db.select call

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58545 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 11 years ago
parent
commit
d38b169d85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/db.test/db.test.py

+ 1 - 1
scripts/db.test/db.test.py

@@ -54,7 +54,7 @@ def main():
 	    r = grass.write_command('db.execute', input = '-', stdin = sql + '\n')
 	else:
 	    resf = file(result, 'w')
-	    r = grass.write_command('db.select', flags = 'c', stdin = sql + '\n', stdout = resf)
+	    r = grass.write_command('db.select', input = '-', flags = 'c', stdin = sql + '\n', stdout = resf)
 	    resf.close()
 
 	if r != 0: