diff --git a/interfaces/python/ck2cti.py b/interfaces/python/ck2cti.py index 2e0e33a6b..056718505 100755 --- a/interfaces/python/ck2cti.py +++ b/interfaces/python/ck2cti.py @@ -1404,7 +1404,8 @@ class Parser(object): elif contains(line, 'THERM'): # List of thermodynamics (hopefully one per species!) line, comment = readline() - TintDefault = float(line.split()[1]) + if not contains(line, 'END'): + TintDefault = float(line.split()[1]) thermo = '' while not contains(line, 'END'): if len(line) >= 80 and line[79] in ['1', '2', '3', '4']: