[GRASS-SVN] r69169 - grass/trunk/scripts/d.redraw

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 20 19:32:06 PDT 2016


Author: annakrat
Date: 2016-08-20 19:32:04 -0700 (Sat, 20 Aug 2016)
New Revision: 69169

Modified:
   grass/trunk/scripts/d.redraw/d.redraw.py
Log:
d.redraw: fix error when using wx monitor

Modified: grass/trunk/scripts/d.redraw/d.redraw.py
===================================================================
--- grass/trunk/scripts/d.redraw/d.redraw.py	2016-08-20 22:29:26 UTC (rev 69168)
+++ grass/trunk/scripts/d.redraw/d.redraw.py	2016-08-21 02:32:04 UTC (rev 69169)
@@ -43,6 +43,8 @@
         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") %



More information about the grass-commit mailing list