[GRASS-SVN] r60780 - grass/trunk/gui/wxpython/rlisetup
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 10 06:46:53 PDT 2014
Author: lucadelu
Date: 2014-06-10 06:46:53 -0700 (Tue, 10 Jun 2014)
New Revision: 60780
Modified:
grass/trunk/gui/wxpython/rlisetup/wizard.py
Log:
g.gui.rlisetup: fix problem of configuration file on windows
Modified: grass/trunk/gui/wxpython/rlisetup/wizard.py
===================================================================
--- grass/trunk/gui/wxpython/rlisetup/wizard.py 2014-06-10 13:42:15 UTC (rev 60779)
+++ grass/trunk/gui/wxpython/rlisetup/wizard.py 2014-06-10 13:46:53 UTC (rev 60780)
@@ -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