Permalink
Browse files

changed root_dir discovery to suit with OSX

  • Loading branch information...
1 parent 308cf50 commit 7d4d484d64d21c1f5d024a2c8985d0b8eb78c024 tommaso barbugli committed Apr 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 gae/appengine_console.py
View
2 gae/appengine_console.py
@@ -10,7 +10,7 @@
import sys
import os
-root_dir = os.path.dirname(os.path.abspath(__file__))
+root_dir = os.path.dirname(sys.argv[0])
sys.path.insert(0, os.path.join(root_dir, 'lib'))
from gaePath.util import gae_sdk_path, add_gae_sdk_path

0 comments on commit 7d4d484

Please sign in to comment.