diff --git a/Simbriefimport.py b/Simbriefimport.py index e09a5dd..e06f197 100644 --- a/Simbriefimport.py +++ b/Simbriefimport.py @@ -423,26 +423,28 @@ ordnerneu.mkdir(exist_ok=True) metarCabin = METAR() metar = metarCabin.choices[0].message.content metar = "\n".join(filter(None, map(str.strip, metar.splitlines()))) - +logging.info("METAR erzeugt") welcomePilot = WelcomePilot() Inhalt = welcomePilot.choices[0].message.content Inhalt = "\n".join(filter(None, map(str.strip, Inhalt.splitlines()))) - +logging.info("WelcomePilot erzeugt") InhaltCruise10 = CruiseElapsed10Percent().choices[0].message.content InhaltCruise10 = "\n".join(filter(None, map(str.strip, InhaltCruise10.splitlines()))) - +logging.info("Cruise10 erzeugt") InhaltCruise50 = CruiseElapsed50Percent().choices[0].message.content InhaltCruise50 = "\n".join(filter(None, map(str.strip, InhaltCruise50.splitlines()))) +logging.info("Cruise50 erzeugt") InhaltCruise80 = CruiseElapsed80Percent().choices[0].message.content InhaltCruise80 = "\n".join(filter(None, map(str.strip, InhaltCruise80.splitlines()))) -print(InhaltCruise80) + +logging.info("Cruise80 erzeugt") Safety = SafetyBriefing().choices[0].message.content Safety = "\n".join(filter(None, map(str.strip, Safety.splitlines()))) -print(Safety) +logging.info("SafetyBriefing erzeugt") Pfad = Pfad_wd + 'BoardingWelcomePilot.txt' txtSave(Pfad, Inhalt)