Browse Source

d.redraw: fix error when using wx monitor

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@69169 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 8 years ago
parent
commit
9ef89691cc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scripts/d.redraw/d.redraw.py

+ 2 - 0
scripts/d.redraw/d.redraw.py

@@ -43,6 +43,8 @@ def main():
         grass.run_command('d.erase')
 
         for cmd in cmdList:
+            if cmd.startswith('#'):
+                continue
             grass.call(split(cmd))
     except IOError as e:
         grass.fatal(_("Unable to open file '%s' for reading. Details: %s") %