Fehler bei Inhaltwelcome behoben

This commit is contained in:
hubobel 2026-02-14 18:08:09 +01:00
parent dd9949b143
commit 49f095346f

View file

@ -443,7 +443,8 @@ def BACKUP(Pfad):
for src in txt_files: for src in txt_files:
dst = backup_dir / src.name dst = backup_dir / src.name
shutil.copy2(src, dst) shutil.copy2(src, dst)
print(f"Kopiert: {src.name}") #print(f"Kopiert: {src.name}")
logging.info(f"Kopiert: {src.name}")
logging.info( logging.info(
"Backup erstellt. %d Datei(en) gesichert.", "Backup erstellt. %d Datei(en) gesichert.",
@ -573,7 +574,7 @@ ordnerneu.mkdir(exist_ok=True)
logging.info("--------------------------------------------------") logging.info("--------------------------------------------------")
logging.info("START .txt Erzeugung ") logging.info("START .txt Erzeugung ")
logging.info("--------------------------------------------------") logging.info("--------------------------------------------------")
debug = False debug = True
if debug == False: if debug == False:
metarCabin = METAR() metarCabin = METAR()
metar = metarCabin.choices[0].message.content metar = metarCabin.choices[0].message.content