No, It isn't legal to fly through the US to France by using a vape pen in addition to a cartridge made up of cannabis oil. Both of those the US and France have legislation that prohibit the transportation of controlled substances throughout international borders, such as on an airplane. https://angelomprcy.wikistatement.com/4404827/thc_vape_france_an_overview