[GRASS-SVN] r61485 - grass/trunk/gui/wxpython/web_services

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 31 10:56:09 PDT 2014


Author: annakrat
Date: 2014-07-31 10:56:09 -0700 (Thu, 31 Jul 2014)
New Revision: 61485

Modified:
   grass/trunk/gui/wxpython/web_services/dialogs.py
Log:
wxGUI/wms: fix finding named region

Modified: grass/trunk/gui/wxpython/web_services/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/web_services/dialogs.py	2014-07-31 17:41:38 UTC (rev 61484)
+++ grass/trunk/gui/wxpython/web_services/dialogs.py	2014-07-31 17:56:09 UTC (rev 61485)
@@ -968,7 +968,7 @@
             reg_mapset = reg_spl[1]
 
         if self.region_types['named'].GetValue():
-            if not grass.find_file(reg_spl[0], 'region', reg_mapset)['fullname']:
+            if not grass.find_file(reg_spl[0], 'windows', reg_mapset)['fullname']:
                 msg = _('Region <%s> does not exist.' % self.params['region'].GetValue())
                 GWarning(parent=self,
                          message=msg)



More information about the grass-commit mailing list