Skip to content

Commit

Permalink
wxGUI g.gui.rlisetup: fix config file open mode for write in text mode (
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Mar 13, 2020
1 parent 2de6c61 commit 545c771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/rlisetup/wizard.py
Expand Up @@ -144,7 +144,7 @@ def __init__(self, parent):

def _write_confile(self):
"""Write the configuration file"""
f = open(os.path.join(self.rlipath, self.startpage.conf_name), 'wb')
f = open(os.path.join(self.rlipath, self.startpage.conf_name), 'w')
self.rasterinfo = grast.raster_info(self.startpage.rast)
self._write_region(f)
self._write_area(f)
Expand Down

0 comments on commit 545c771

Please sign in to comment.