Spaces:
Running
Running
Commit
·
c3472f4
1
Parent(s):
77d133e
removed unnessecary code
Browse files
uw_programmatic/uw_machine.py
CHANGED
@@ -107,18 +107,6 @@ class UWMachine(UWBaseMachine):
|
|
107 |
) # This must be in that JSON format
|
108 |
except:
|
109 |
new_question_list = self.question_list
|
110 |
-
merged_list = [
|
111 |
-
*self.question_list,
|
112 |
-
*self.most_recent_questions,
|
113 |
-
]
|
114 |
-
deleted_q = [
|
115 |
-
question1
|
116 |
-
for question1 in merged_list
|
117 |
-
if not any(
|
118 |
-
question2["Question"] == question1["Question"]
|
119 |
-
for question2 in new_question_list
|
120 |
-
)
|
121 |
-
]
|
122 |
self.question_list = new_question_list
|
123 |
self.send("next_state") # move on
|
124 |
|
|
|
107 |
) # This must be in that JSON format
|
108 |
except:
|
109 |
new_question_list = self.question_list
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
self.question_list = new_question_list
|
111 |
self.send("next_state") # move on
|
112 |
|