From 7af1249298d9759ea5261d3e1bb8e8ab186ee6d5 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Thu, 3 Nov 2011 17:34:44 +0000 Subject: [PATCH] made string comparison fool-proof with lower-casing. --- lib/msc_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msc_tools.py b/lib/msc_tools.py index 6b07cc615..ad5003da8 100644 --- a/lib/msc_tools.py +++ b/lib/msc_tools.py @@ -19,7 +19,7 @@ class MSC_TOOLS(): try: # check for MSC.Mentat installation location file = open(os.path.join(DamaskRoot,'lib/pathinfo')) for line in file.readlines(): - if line.split()[0] == 'MSC': MSCpath = os.path.normpath(line.split()[1]) + if line.split()[0].lower() == 'msc': MSCpath = os.path.normpath(line.split()[1]) file.close() except: MSCpath = '/msc'