diff --git a/examples/Interactive Widgets/Export As (nbconvert).ipynb b/examples/Interactive Widgets/Export As (nbconvert).ipynb
index 714b48a..36d50f2 100644
--- a/examples/Interactive Widgets/Export As (nbconvert).ipynb
+++ b/examples/Interactive Widgets/Export As (nbconvert).ipynb
@@ -20,6 +20,8 @@
"from IPython.nbconvert import get_export_names, export_by_name\n",
"from IPython.nbconvert.writers import FilesWriter\n",
"from IPython.nbformat import current"
+ "from IPython.nbconvert.utils.exceptions import ConversionException\n",
+
],
"language": "python",
"metadata": {},
@@ -151,7 +153,7 @@
" download_link.value = \"
Results: \\\"{filename}\\\"\".format(filename=write_results)\n",
" download_link.visible = True\n",
" \n",
- "def handle_export():\n",
+ "def handle_export(widget):\n",
" with open(filename, 'r') as f:\n",
" export(filename, current.read(f, 'json'))\n",
"export_button.on_click(handle_export)"
@@ -183,4 +185,4 @@
"metadata": {}
}
]
-}
\ No newline at end of file
+}