Kaynağa Gözat

g.gui.rlisetup: fix problem of configuration file on windows

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60780 15284696-431f-4ddb-bdfa-cd5b030d7da7
Luca Delucchi 11 yıl önce
ebeveyn
işleme
9b855f9bb7
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      gui/wxpython/rlisetup/wizard.py

+ 1 - 1
gui/wxpython/rlisetup/wizard.py

@@ -133,7 +133,7 @@ class RLIWizard(object):
 
     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)