support for required inputs to continue to the next task step
parent
eeefb79f7b
commit
af43378d70
|
@ -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) """
|
||||
|
|
Loading…
Reference in New Issue