diff --git a/qt/python/mantidqt/widgets/codeeditor/inputsplitter.py b/qt/python/mantidqt/widgets/codeeditor/inputsplitter.py index a13256d2309fa7a789f954ff56f751af9209eed9..e3e7af4e93eb6f7eab3d5323ecdb95c7960d3109 100644 --- a/qt/python/mantidqt/widgets/codeeditor/inputsplitter.py +++ b/qt/python/mantidqt/widgets/codeeditor/inputsplitter.py @@ -72,6 +72,8 @@ class InputSplitter(IPyInputSplitter): self._update_indent(lines) except TypeError: # _update_indent was changed in IPython 6.0 self._update_indent() + except AttributeError: # changed definition in IPython 6.3 + self.get_indent_spaces() try: self.code = self._compile(source, symbol="exec") # Invalid syntax can produce any of a number of different errors from