Ausgabe Einsatzbeginn angepasst
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user