Skip to content
This repository
Browse code

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

closes gh-193
  • Loading branch information...
commit 604c8e1ef5e5bf07cf48a82eb2acc07b10b9a42b 2 parents 9cf75bc + a5680be
Thomas Spura authored February 15, 2011 minrk committed February 15, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  ipython.py
2  ipython.py
@@ -9,7 +9,7 @@
9 9
 
10 10
 # Ensure that the imported IPython is the local one, not a system-wide one
11 11
 import os, sys
12  
-this_dir = os.path.dirname(os.path.abspath(__file__))
  12
+this_dir = os.path.dirname(sys.argv[0])
13 13
 sys.path.insert(0, this_dir)
14 14
 
15 15
 # Now proceed with execution

0 notes on commit 604c8e1

Please sign in to comment.
Something went wrong with that request. Please try again.