From ec7882cdc20608a87d5f3f91724fda87af77810e Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Thu, 15 Feb 2018 15:41:51 -0800 Subject: [PATCH] Fix: "NameError: name '_' is not defined" running `ipymd` from commandline - Fix #87 --- ipymd/core/contents_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ipymd/core/contents_manager.py b/ipymd/core/contents_manager.py index dda1591..e622808 100644 --- a/ipymd/core/contents_manager.py +++ b/ipymd/core/contents_manager.py @@ -25,6 +25,7 @@ from IPython.config.configurable import Configurable try: + from notebook import transutils from notebook.services.contents.filemanager import FileContentsManager except ImportError: from IPython.html.services.contents.filemanager import FileContentsManager