From 124037690e3c3d24553870848b1440d98ce29214 Mon Sep 17 00:00:00 2001 From: MinRK Date: Wed, 4 Apr 2012 09:48:29 -0600 Subject: [PATCH] use os.getcwdu in NotebookManager prevents unicode error when starting in non-unicode path. --- IPython/frontend/html/notebook/notebookmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/frontend/html/notebook/notebookmanager.py b/IPython/frontend/html/notebook/notebookmanager.py index 78ca76159..9acf0cd8a 100644 --- a/IPython/frontend/html/notebook/notebookmanager.py +++ b/IPython/frontend/html/notebook/notebookmanager.py @@ -34,7 +34,7 @@ from IPython.utils.traitlets import Unicode, List, Dict, Bool class NotebookManager(LoggingConfigurable): - notebook_dir = Unicode(os.getcwd(), config=True, help=""" + notebook_dir = Unicode(os.getcwdu(), config=True, help=""" The directory to use for notebooks. """)