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

fixing view with spaces, closes #170

parent 91836d01
...@@ -9,4 +9,5 @@ shift ...@@ -9,4 +9,5 @@ shift
source $VIRTUALENV/bin/activate source $VIRTUALENV/bin/activate
# Run IPython. # Run IPython.
ipython $@ # Quotes around $@ are necessary to deal properly with spaces.
ipython "$@"
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
"collapsed": false, "collapsed": false,
"input": [ "input": [
"import Control.Monad.Identity\n", "import Control.Monad.Identity\n",
": " ":ext NoIm"
], ],
"language": "python", "language": "python",
"metadata": {}, "metadata": {},
......
...@@ -117,6 +117,7 @@ nbconvert :: WhichIPython -> ViewFormat -> String -> IO () ...@@ -117,6 +117,7 @@ nbconvert :: WhichIPython -> ViewFormat -> String -> IO ()
nbconvert which fmt name = void . shellyNoDir $ do nbconvert which fmt name = void . shellyNoDir $ do
curdir <- pwd curdir <- pwd
nbdir <- notebookDir nbdir <- notebookDir
-- Find which of the options is available. -- Find which of the options is available.
let notebookOptions = [ let notebookOptions = [
curdir </> fpFromString name, 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