Переглянути джерело

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

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@60781 15284696-431f-4ddb-bdfa-cd5b030d7da7
Luca Delucchi 11 роки тому
батько
коміт
18047383ef
1 змінених файлів з 1 додано та 1 видалено
  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)