Ausgabe Einsatzbeginn angepasst
This commit is contained in:
@@ -24,7 +24,7 @@ else:
|
|||||||
|
|
||||||
def input_code():
|
def input_code():
|
||||||
scancode = input("Scan den Code: ").strip()
|
scancode = input("Scan den Code: ").strip()
|
||||||
|
|
||||||
if ';' in scancode:
|
if ';' in scancode:
|
||||||
kompletter_qrcode = scancode
|
kompletter_qrcode = scancode
|
||||||
nachname, vorname, geburtsdatum, geschlecht, plz, ort, nationalitaet, strasse, helferid, _, hiorg, _, _, _, _ = kompletter_qrcode.split(";")
|
nachname, vorname, geburtsdatum, geschlecht, plz, ort, nationalitaet, strasse, helferid, _, hiorg, _, _, _, _ = kompletter_qrcode.split(";")
|
||||||
@@ -43,7 +43,7 @@ def input_code():
|
|||||||
print("Hilfsorganisation: " + hiorg)
|
print("Hilfsorganisation: " + hiorg)
|
||||||
start_datum = time.strftime("%d.%m.%Y")
|
start_datum = time.strftime("%d.%m.%Y")
|
||||||
start_uhrzeit = time.strftime("%H:%M:%S")
|
start_uhrzeit = time.strftime("%H:%M:%S")
|
||||||
print(start_datum + " " + start_uhrzeit)
|
print(f"Einsatzbeginn: {start_datum} - {start_uhrzeit}")
|
||||||
else:
|
else:
|
||||||
print("Code: " + scancode)
|
print("Code: " + scancode)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user