From 3eba7612e6d349e0fc2e5fb88524c247d4cf7a29 Mon Sep 17 00:00:00 2001 From: Baptiste Fouques Date: Tue, 15 Nov 2022 14:18:57 +0100 Subject: [PATCH] Add matching content in get_line pattern MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit current implementation does not work. Typo ? --- pass2csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pass2csv b/pass2csv index e7219c5..a8ecdaf 100755 --- a/pass2csv +++ b/pass2csv @@ -61,7 +61,7 @@ def set_data(entry, data, exclude, get_fields, get_lines): matching_indices.add(i) break for name, matches in matching_lines.items(): - fields[name] = '\n'.join(matching_lines) + fields[name] = '\n'.join(matches) final_tail = [] for i, line in enumerate(filtered_tail):