Browse Source

wxGUI: Remove python2 specific sys.stderr encoding handling. Fixes #3921 (#167)

Fixes https://trac.osgeo.org/grass/ticket/3921
Māris Nartišs 5 years ago
parent
commit
657ef28a2b
2 changed files with 0 additions and 4 deletions
  1. 0 2
      gui/wxpython/gis_set.py
  2. 0 2
      gui/wxpython/image2target/ii2t_gis_set.py

+ 0 - 2
gui/wxpython/gis_set.py

@@ -48,8 +48,6 @@ from gui_core.widgets import GenericValidator, StaticWrapText
 from gui_core.wrap import Button, ListCtrl, StaticText, StaticBox, \
     TextCtrl
 
-sys.stderr = codecs.getwriter('utf8')(sys.stderr)
-
 
 class GRASSStartup(wx.Frame):
     exit_success = 0

+ 0 - 2
gui/wxpython/image2target/ii2t_gis_set.py

@@ -42,8 +42,6 @@ from gui_core.widgets import GenericValidator, StaticWrapText
 from gui_core.wrap import Button, ListCtrl, StaticText, \
     StaticBox, TextCtrl
 
-sys.stderr = codecs.getwriter('utf8')(sys.stderr)
-
 
 class GRASSStartup(wx.Frame):
     exit_success = 0