From 8e7eb96f6c4e2c6b44db30ff284833d0e3ab6643 2010-10-10 05:00:58 From: Fernando Perez Date: 2010-10-10 05:00:58 Subject: [PATCH] Fix error in %gui. Closes gh-160. --- diff --git a/IPython/core/magic.py b/IPython/core/magic.py index 31ba558..00d3799 100644 --- a/IPython/core/magic.py +++ b/IPython/core/magic.py @@ -3244,7 +3244,7 @@ Defaulting color scheme to 'NoColor'""" we have already handled that. """ from IPython.lib.inputhook import enable_gui - opts, arg = self.parse_options(parameter_s='') + opts, arg = self.parse_options(parameter_s, '') if arg=='': arg = None return enable_gui(arg)