diff --git a/gui/wxpython/wxgui.py b/gui/wxpython/wxgui.py index fe1d6f2105..83fed965ec 100644 --- a/gui/wxpython/wxgui.py +++ b/gui/wxpython/wxgui.py @@ -161,7 +161,7 @@ def main(argv=None): app = GMApp(workspaceFile) # suppress wxPython logs - wx.LogNull() + q = wx.LogNull() # noqa: F841 set_raise_on_error(True) # register GUI PID