diff --git a/server/CLIent.py b/server/CLIent.py index 66c4c41..e199b01 100644 --- a/server/CLIent.py +++ b/server/CLIent.py @@ -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: diff --git a/server/app/tools/data.py b/server/app/tools/data.py index dd07262..9303cd4 100644 --- a/server/app/tools/data.py +++ b/server/app/tools/data.py @@ -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