From b1449d8991eb41aa0f58073dacf0bd10f619e397 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 23 Sep 2022 14:41:58 -0500 Subject: [PATCH] refactor: remove extra tab --- src/help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/help.py b/src/help.py index b8dc453..64d292d 100644 --- a/src/help.py +++ b/src/help.py @@ -80,8 +80,8 @@ def parse_goal(file, goal): for line in lines[loc + 1 :]: if not line.startswith("\t"): break - recipe.append(line) - output.append(divider(max((len(l) for l in recipe)) + 5)) + recipe.append(f" {line.strip()}") + output.append(divider(max((len(l.strip()) for l in recipe)))) output.append("\n".join(recipe) + "\n") else: output.append(f"{ansi.b_red}ERROR{ansi.end} Failed to find goal: {goal}")