diff --git a/lib/damask/environment.py b/lib/damask/environment.py index 058ef51d6..34643c199 100644 --- a/lib/damask/environment.py +++ b/lib/damask/environment.py @@ -41,7 +41,9 @@ class Environment(): content = file.readlines() file.close() for line in content: - self.pathInfo[line.split()[0].lower()] = os.path.normpath(os.path.join(self.relPath('lib/'),line.split()[1])) + items = line.split() + ['',''] + self.pathInfo[items[0].lower()] = {False: os.path.normpath(os.path.join(self.relPath('lib/'),items[1])), + True: items[1]}[items[1] == ''] except: pass