Skip to content

Commit

Permalink
Fix: "NameError: name '_' is not defined" running ipymd from comman…
Browse files Browse the repository at this point in the history
…dline

- Fix rossant#87
  • Loading branch information
jdanbrown authored Feb 15, 2018
1 parent a776cd6 commit ec7882c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ipymd/core/contents_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec7882c

Please sign in to comment.