Skip to content

Commit

Permalink
Use realpath instead of abspath.
Browse files Browse the repository at this point in the history
This allows it to work correctly when symlinked.
  • Loading branch information
dkasak committed Mar 12, 2017
1 parent 73bd820 commit 90bf457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lithium/lithium.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import time
import sys

path0 = os.path.dirname(os.path.abspath(__file__))
path0 = os.path.dirname(os.path.realpath(__file__))
path1 = os.path.abspath(os.path.join(path0, os.pardir, 'interestingness'))
sys.path.append(path1)
import ximport
Expand Down

0 comments on commit 90bf457

Please sign in to comment.