Browse Source

python 2 compatibility

pull/473/head
eladeyal 5 years ago
committed by Chris
parent
commit
dcfa5122c7
1 changed files with 1 additions and 1 deletions
  1. 2
      gooey/gui/components/widgets/richtextconsole.py

2
gooey/gui/components/widgets/richtextconsole.py

@ -38,7 +38,7 @@ class RichTextConsole(wx.richtext.RichTextCtrl):
"""
def __init__(self, parent):
super().__init__(parent, -1, "", style=wx.TE_MULTILINE | wx.TE_READONLY)
super(wx.richtext.RichTextCtrl, self).__init__(parent, -1, "", style=wx.TE_MULTILINE | wx.TE_READONLY)
self.esc = colored.style.ESC
self.end = colored.style.END
self.noop = lambda *args, **kwargs: None

Loading…
Cancel
Save