Detection for flammable substances in inert atmospheres