From 7e744ef5460fe96a140b584f01152df7852d4539 2011-06-22 17:26:05 From: Thomas Kluyver Date: 2011-06-22 17:26:05 Subject: [PATCH] _encode_png needs to be in namespace of zmqshell.py --- diff --git a/IPython/zmq/zmqshell.py b/IPython/zmq/zmqshell.py index 04ee838..5a5f955 100644 --- a/IPython/zmq/zmqshell.py +++ b/IPython/zmq/zmqshell.py @@ -33,7 +33,7 @@ from IPython.utils import io from IPython.utils.path import get_py_filename from IPython.utils.traitlets import Instance, Type, Dict from IPython.utils.warn import warn -from IPython.zmq.displayhook import ZMQShellDisplayHook +from IPython.zmq.displayhook import ZMQShellDisplayHook, _encode_png from IPython.zmq.session import extract_header from session import Session