From aa20416aa1c70a47d3ae177e79460f5fb48f72af Mon Sep 17 00:00:00 2001 From: viveksantayana Date: Thu, 1 Sep 2022 11:56:27 +0100 Subject: [PATCH] Typos --- server/CLIent.py | 2 +- server/app/tools/data.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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