Permalink
Browse files

Merge branch 'ready_cProfile' of https://github.com/tomspur/ipython

closes gh-193
  • Loading branch information...
2 parents 9cf75bc + a5680be commit 604c8e1ef5e5bf07cf48a82eb2acc07b10b9a42b @tomspur tomspur committed with minrk Feb 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ipython.py
View
@@ -9,7 +9,7 @@
# Ensure that the imported IPython is the local one, not a system-wide one
import os, sys
-this_dir = os.path.dirname(os.path.abspath(__file__))
+this_dir = os.path.dirname(sys.argv[0])
sys.path.insert(0, this_dir)
# Now proceed with execution

0 comments on commit 604c8e1

Please sign in to comment.