From 33bd89632810b1e706dab8102d0ff521a10456dd Mon Sep 17 00:00:00 2001 From: Daniel Schlapa Date: Sat, 20 Jan 2024 14:49:28 +0100 Subject: [PATCH] Ausgabe Einsatzbeginn angepasst --- Registrierung.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Registrierung.py b/Registrierung.py index a4ba871..e592f45 100644 --- a/Registrierung.py +++ b/Registrierung.py @@ -24,7 +24,7 @@ else: def input_code(): scancode = input("Scan den Code: ").strip() - + if ';' in scancode: kompletter_qrcode = scancode nachname, vorname, geburtsdatum, geschlecht, plz, ort, nationalitaet, strasse, helferid, _, hiorg, _, _, _, _ = kompletter_qrcode.split(";") @@ -43,7 +43,7 @@ def input_code(): print("Hilfsorganisation: " + hiorg) start_datum = time.strftime("%d.%m.%Y") start_uhrzeit = time.strftime("%H:%M:%S") - print(start_datum + " " + start_uhrzeit) + print(f"Einsatzbeginn: {start_datum} - {start_uhrzeit}") else: print("Code: " + scancode)