aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-03-18 04:38:00 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2025-06-15 01:30:25 +0200
commitfb8d7570801deb6045891cd5a7adf9469b840041 (patch)
treef310d724e3df52ea4b5e86abb59d042273e4a060
parentbd2685c790423c793f67b8bde5ea492889d5a891 (diff)
downloadhaunt-blog-fb8d7570801deb6045891cd5a7adf9469b840041.tar.gz
haunt-blog-fb8d7570801deb6045891cd5a7adf9469b840041.tar.bz2
haunt-blog-fb8d7570801deb6045891cd5a7adf9469b840041.zip
convert.py: fix tags and licenses line breaks.
This was broken in the commit 32c41425a104e2a309f78507e31c578efa0fe632 ("convert.py: metadata: Convert prints to strings."). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rwxr-xr-xconvert.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/convert.py b/convert.py
index 15879ea..6c72bab 100755
--- a/convert.py
+++ b/convert.py
@@ -227,11 +227,11 @@ def get_metadata(html_file_path):
tags_metadata = _get_metadata(html_file_path, get_tags)
if tags_metadata:
- metadata += "tags: {}".format(tags_metadata)
+ metadata += "tags: {}".format(tags_metadata) + os.linesep
licenses_metadata = _get_metadata(html_file_path, get_licenses)
if licenses_metadata:
- metadata += "licenses: {}".format(licenses_metadata)
+ metadata += "licenses: {}".format(licenses_metadata) + os.linesep
metadata += "---" + os.linesep