Kaynağa Gözat

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

Fixes https://trac.osgeo.org/grass/ticket/3921
Māris Nartišs 5 yıl önce
ebeveyn
işleme
657ef28a2b

+ 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