fixed a stupido error

This commit is contained in:
Philip Eisenlohr 2011-02-22 16:06:24 +00:00
parent 333445be8b
commit 003b0def46
1 changed files with 3 additions and 3 deletions

View File

@ -629,9 +629,9 @@ parser.set_defaults(separateFiles = False)
try:
file = open('%s/../MSCpath'%os.path.dirname(os.path.realpath(sys.argv[0])))
MSCpath = os.path.normpath(file.readline().strip())
file.close()
default = open('%s/../MSCpath'%os.path.dirname(os.path.realpath(sys.argv[0])))
MSCpath = os.path.normpath(default.readline().strip())
default.close()
except:
MSCpath = '/msc'