From 3478a0eb91d2450bc24ae866fbc54d5abaa21cde Mon Sep 17 00:00:00 2001 From: hubobel Date: Sat, 27 Dec 2025 10:54:01 +0100 Subject: [PATCH] =?UTF-8?q?.log=20Unterst=C3=BCtzung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Simbriefimport.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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)