Browse Source

v.report: Fix newline issue (#477)

* v.report: Fix newline issue

* v.db.select -n => -e (#476)
Huidae Cho 5 years ago
parent
commit
b74dfd2f50
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/v.report/v.report.py

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

@@ -100,7 +100,7 @@ def main():
     # NOTE: we suppress -1 cat and 0 cat
     if isConnection:
         f = grass.vector_db(map=mapname)[int(layer)]
-        p = grass.pipe_command('v.db.select', quiet=True, map=mapname, layer=layer)
+        p = grass.pipe_command('v.db.select', flags='e', quiet=True, map=mapname, layer=layer)
         records1 = []
         catcol = -1
         ncols = 0