Typos
This commit is contained in:
parent
0c49d22865
commit
aa20416aa1
@ -80,7 +80,7 @@ def validate_answer(answers:list, question:dict) -> bool:
|
||||
except ValueError: return False
|
||||
|
||||
def render_questions() -> dict:
|
||||
answers = []
|
||||
answers = [ ]
|
||||
try:
|
||||
questions = requests.get(url=f'{SERVER}/api/questions/').json()
|
||||
except Exception as exception:
|
||||
|
@ -17,7 +17,7 @@ def load(filename:str) -> dict:
|
||||
|
||||
def declutter_results(raw_results:dict) -> dict:
|
||||
data = deepcopy(raw_results)
|
||||
playbook_lists = []
|
||||
playbook_lists = [ ]
|
||||
for item in data['playbooks']:
|
||||
playbook_lists.append(list(item.keys())[0])
|
||||
data['playbooks'] = playbook_lists
|
||||
|
Loading…
Reference in New Issue
Block a user