From bf1591c61d927fae5e23e6d0b782387d6fd062be Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Wed, 4 Jun 2025 12:07:41 +0200 Subject: [PATCH] fixed bug in manual selection --- manual_selection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manual_selection.py b/manual_selection.py index e1b6142..a10ad1c 100644 --- a/manual_selection.py +++ b/manual_selection.py @@ -171,9 +171,9 @@ def refine_entry( hunks = select_relevant_hunks(diff, entry.comments[0].body) if hunks: accumulated[fname] = "\n".join(hunks) - entry.diffs_after = accumulated - if len(accumulated): + if len(accumulated) == 0: return False + entry.diffs_after = accumulated return True