Skip to content

Commit

Permalink
Fix removal of realpath call
Browse files Browse the repository at this point in the history
mistaken copy/paste from notebook
  • Loading branch information
minrk authored Sep 19, 2019
1 parent 47c4102 commit 10196a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jupyter_core/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def get_home_dir():
homedir = os.path.expanduser('~')
# Next line will make things work even when /home/ is a symlink to
# /usr/home as it is on FreeBSD, for example
home = py3compat.str_to_unicode(os.path.expanduser('~'), encoding=sys.getfilesystemencoding())
homedir = os.path.realpath(homedir)
homedir = py3compat.str_to_unicode(homedir, encoding=sys.getfilesystemencoding())
return homedir

_dtemps = {}
Expand Down

0 comments on commit 10196a3

Please sign in to comment.