[GRASS-SVN] r33288 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 6 06:09:07 EDT 2008
Author: martinl
Date: 2008-09-06 06:09:07 -0400 (Sat, 06 Sep 2008)
New Revision: 33288
Modified:
grass/trunk/gui/wxpython/gui_modules/render.py
Log:
wxGUI: check GRASS_PNGFILE first
(merge from devbr6, r33287)
Modified: grass/trunk/gui/wxpython/gui_modules/render.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/render.py 2008-09-06 10:06:14 UTC (rev 33287)
+++ grass/trunk/gui/wxpython/gui_modules/render.py 2008-09-06 10:09:07 UTC (rev 33288)
@@ -175,7 +175,8 @@
#
# stop monitor
#
- del os.environ["GRASS_PNGFILE"]
+ if os.environ.has_key("GRASS_PNGFILE"):
+ del os.environ["GRASS_PNGFILE"]
self.force_render = False
More information about the grass-commit
mailing list