From 7f8001e6ac3e84c893f20b03d96b1915f89c8449 Mon Sep 17 00:00:00 2001 From: Daniel Knuettel Date: Fri, 29 Dec 2017 14:01:56 +0100 Subject: [PATCH] fixed a bug in insert-header --- licor/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/licor/main.py b/licor/main.py index 221e5e4..afbf478 100644 --- a/licor/main.py +++ b/licor/main.py @@ -131,7 +131,7 @@ def insert_templates_all(path, file_ending, ignore_paths, license_name, modifier data = format_template(license_name, data, modifiers) if(format_ == "line"): text = uncomment_line_based(data, comment_start, fancy = fancy, - after_comment = after_comment, pad_to = pad_to) + "\n\n" + after_comment = after_comment, pad_to = pad_to) else: if(method == "block"): text = uncomment_multiline_block_oriented(data, @@ -145,7 +145,7 @@ def insert_templates_all(path, file_ending, ignore_paths, license_name, modifier after_comment = after_comment, fancy = fancy, border = border, pad_to = pad_to) - + text += "\n\n" if(confirm): callbacks.append(get_path_confirmation)