Commit 22b9e06d authored by Andrew Gibiansky's avatar Andrew Gibiansky

fixing view with spaces, closes #170

parent 91836d01
......@@ -9,4 +9,5 @@ shift
source $VIRTUALENV/bin/activate
# Run IPython.
ipython $@
# Quotes around $@ are necessary to deal properly with spaces.
ipython "$@"
......@@ -37,7 +37,7 @@
"collapsed": false,
"input": [
"import Control.Monad.Identity\n",
": "
":ext NoIm"
],
"language": "python",
"metadata": {},
......
......@@ -117,6 +117,7 @@ nbconvert :: WhichIPython -> ViewFormat -> String -> IO ()
nbconvert which fmt name = void . shellyNoDir $ do
curdir <- pwd
nbdir <- notebookDir
-- Find which of the options is available.
let notebookOptions = [
curdir </> fpFromString name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment