From 1f6d6c558217cf1e698443c57d6cd32f9651fa80 Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Wed, 15 Apr 2015 11:34:03 -0400 Subject: [PATCH] Add buffers argument to a widget custom message handler This change should have been made with the custom serialization changes a few weeks ago. Thanks to @ssunkara1 for catching this. --- jupyter_notebook/widgets/widget_string.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter_notebook/widgets/widget_string.py b/jupyter_notebook/widgets/widget_string.py index 8e5f1e83f..8b87c5748 100644 --- a/jupyter_notebook/widgets/widget_string.py +++ b/jupyter_notebook/widgets/widget_string.py @@ -55,7 +55,7 @@ class Text(_String): self._submission_callbacks = CallbackDispatcher() self.on_msg(self._handle_string_msg) - def _handle_string_msg(self, _, content): + def _handle_string_msg(self, _, content, buffers): """Handle a msg from the front-end. Parameters