Parcourir la 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á il y a 8 ans
Parent
commit
9ef89691cc
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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") %