Skip to content

Commit

Permalink
updating notebook sys.path stuff to PREpend instead of APpend
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrose committed Sep 20, 2017
1 parent c5d6043 commit ce36c41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/notebooks/bag-of-words-count-stemmed-binary.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"import sys\n",
"module_path = os.path.abspath(os.path.join('..'))\n",
"if module_path not in sys.path:\n",
" sys.path.append(module_path)"
" sys.path = [module_path] + sys.path"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion lib/notebooks/explorations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"import sys\n",
"module_path = os.path.abspath(os.path.join('..'))\n",
"if module_path not in sys.path:\n",
" sys.path.append(module_path)"
" sys.path = [module_path] + sys.path"
]
},
{
Expand Down

0 comments on commit ce36c41

Please sign in to comment.