witten
/
luminotes
Archived
1
0
Fork 0

Only chdir to the main path if there is one.

This commit is contained in:
Dan Helfman 2008-08-23 14:58:57 -07:00
parent 04de772cef
commit ace983aac0
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ def change_to_main_dir():
else:
path = os.path.dirname( unicode( __file__, sys.getfilesystemencoding() ) )
os.chdir( path )
if path:
os.chdir( path )
def main( args ):