.log Unterstützung
This commit is contained in:
parent
ced9c90987
commit
3478a0eb91
1 changed files with 7 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue