]> scripts.mit.edu Git - wizard.git/commitdiff
Fix bug where ./wizard would not work.
authorEdward Z. Yang <ezyang@mit.edu>
Wed, 1 Jul 2009 01:02:31 +0000 (21:02 -0400)
committerEdward Z. Yang <ezyang@mit.edu>
Wed, 1 Jul 2009 01:02:31 +0000 (21:02 -0400)
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
bin/wizard

index 862e4f303a241659c1b78b50e98717983bcd2a79..b48c6250157dd2270865abb5d2c38555018a3ae0 100755 (executable)
@@ -5,7 +5,7 @@ import optparse
 import sys
 
 # Add lib to path
-sys.path.insert(0,os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)))))
+sys.path.insert(0,os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 import wizard.command
 
 def main():