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