From dcfa5122c7de023dfcdc62ae64d82b5a8d6ad251 Mon Sep 17 00:00:00 2001 From: eladeyal Date: Sat, 25 May 2019 17:25:28 +0300 Subject: [PATCH] python 2 compatibility --- gooey/gui/components/widgets/richtextconsole.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gooey/gui/components/widgets/richtextconsole.py b/gooey/gui/components/widgets/richtextconsole.py index bc695d1..95e4808 100644 --- a/gooey/gui/components/widgets/richtextconsole.py +++ b/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