diff --git a/slaeforms/app.py b/slaeforms/app.py index 0481eee..60dc765 100644 --- a/slaeforms/app.py +++ b/slaeforms/app.py @@ -186,7 +186,7 @@ def startpage(): for name in block_names: print("block: ",name) - if config[name]["type"] == "TaskTemplate" and ("stimuli" in current_block): + if config[name]["type"] == "TaskTemplate" and ("stimuli" in config[name]): match config[name]["stimuli"]["type"]: case "single_video": order = list(config[name]["stimuli"]["list"]) # order = list of simuli keys diff --git a/slaeforms/templates/intropage.html b/slaeforms/templates/intropage.html index 27e08fe..55666bf 100644 --- a/slaeforms/templates/intropage.html +++ b/slaeforms/templates/intropage.html @@ -24,7 +24,7 @@ Sie können den Button nochmal anklicken um wieder zur Aufgabe zurückzukommen.
@@ -32,9 +32,9 @@
-