[GRASS-SVN] r60781 - grass/branches/releasebranch_7_0/gui/wxpython/rlisetup

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 10 06:58:38 PDT 2014


Author: lucadelu
Date: 2014-06-10 06:58:38 -0700 (Tue, 10 Jun 2014)
New Revision: 60781

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/rlisetup/wizard.py
Log:
g.gui.rlisetup: fix problem of configuration file on windows

Modified: grass/branches/releasebranch_7_0/gui/wxpython/rlisetup/wizard.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/rlisetup/wizard.py	2014-06-10 13:46:53 UTC (rev 60780)
+++ grass/branches/releasebranch_7_0/gui/wxpython/rlisetup/wizard.py	2014-06-10 13:58:38 UTC (rev 60781)
@@ -133,7 +133,7 @@
 
     def _write_confile(self):
         """!Write the configuration file"""
-        f = open(os.path.join(self.rlipath, self.startpage.conf_name), 'w')
+        f = open(os.path.join(self.rlipath, self.startpage.conf_name), 'wb')
         self.rasterinfo = grast.raster_info(self.startpage.rast)
         self._write_region(f)
         self._write_area(f)



More information about the grass-commit mailing list