support for required inputs to continue to the next task step

main
alex 2023-05-12 23:25:13 +02:00
parent eeefb79f7b
commit af43378d70
1 changed files with 11 additions and 1 deletions

View File

@ -1,11 +1,21 @@
import time
import sys
time.sleep(3)
labelformat = sys.argv[1]
kiste = sys.argv[2]
print("hello this is test1")
if labelformat is None or kiste is None:
sys.exit(100)
print("hello friend", labelformat, kiste)
"""
try:
x = 5 / 0 # Hier wird ein Fehler ausgelöst
except ZeroDivisionError:
print("Ein Fehler ist aufgetreten: Division durch Null.")
raise SystemExit(140)
raise SystemExit(140) """