diff -r b789b695b5c6 -r dd94b9a68c61 Beremiz_service.py --- a/Beremiz_service.py Tue Aug 15 15:50:30 2017 +0300 +++ b/Beremiz_service.py Tue Aug 15 16:01:18 2017 +0300 @@ -143,12 +143,10 @@ # Define locale domain loc.AddCatalog(domain) - import locale global default_locale default_locale = locale.getdefaultlocale()[1] - # sys.stdout.encoding = default_locale # if Beremiz_service is started from Beremiz IDE # sys.stdout.encoding is None (that means 'ascii' encoding'). @@ -197,7 +195,6 @@ else: event(self, function) - def __init__(self, parent, message, caption = _("Please enter text"), defaultValue = "", style = wx.OK|wx.CANCEL|wx.CENTRE, pos = wx.DefaultPosition): wx.TextEntryDialog.__init__(self, parent, message, caption, defaultValue, style, pos)