소스 검색

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 년 전
부모
커밋
9ef89691cc
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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") %