From 3d9a5aa39902f4a9b8d9b3c17a54f9342b037baa Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 25 Aug 2023 19:57:17 +0100 Subject: [PATCH] fix syntax error --- src/budget_sync/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/budget_sync/main.py b/src/budget_sync/main.py index a1e7c72..e4a7359 100644 --- a/src/budget_sync/main.py +++ b/src/budget_sync/main.py @@ -231,7 +231,7 @@ def json_milestones(budget_graph: BudgetGraph, add_comments: bool, # has only the "summary description" but the rest may # be used for "TODO" lists l = line.strip() - if len(l) >= 2 and l == "-" * len(l) \ + if len(l) >= 2 and l == "-" * len(l): lines[i:] = [] break comment += "\n".join(lines) -- 2.30.2