[GRASS-SVN] r41621 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 30 09:10:52 EDT 2010


Author: martinl
Date: 2010-03-30 09:10:52 -0400 (Tue, 30 Mar 2010)
New Revision: 41621

Modified:
   grass/trunk/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI: fix variable initialization


Modified: grass/trunk/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2010-03-30 13:08:57 UTC (rev 41620)
+++ grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2010-03-30 13:10:52 UTC (rev 41621)
@@ -117,6 +117,7 @@
 
     def OnModelOpen(self, event):
         """!Load model from file"""
+        filename = ''
         global debug
         if debug is False:
             dlg = wx.FileDialog(parent = self, message=_("Choose model file"),



More information about the grass-commit mailing list