Преглед на файлове

v.report: Fix newline issue (#477)

* v.report: Fix newline issue

* v.db.select -n => -e (#476)
Huidae Cho преди 5 години
родител
ревизия
b74dfd2f50
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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