diff --git a/interfaces/cython/cantera/ck2cti.py b/interfaces/cython/cantera/ck2cti.py index a7b563ec2..0297be188 100644 --- a/interfaces/cython/cantera/ck2cti.py +++ b/interfaces/cython/cantera/ck2cti.py @@ -1891,7 +1891,7 @@ def main(argv): if not outName.endswith('.cti'): outName += '.cti' else: - outName = None + outName = os.path.splitext(inputFile)[0] + '.cti' permissive = '--permissive' in options thermoFile = options.get('--thermo')