From f592330bdfecf468871f9f378a9a625dac0ff2b7 Mon Sep 17 00:00:00 2001 From: boyska Date: Thu, 19 Aug 2021 18:32:13 +0200 Subject: [PATCH] fix --- ics2mdwn.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ics2mdwn.py b/ics2mdwn.py index 96b928d..42b49b4 100755 --- a/ics2mdwn.py +++ b/ics2mdwn.py @@ -103,8 +103,7 @@ class HugoConverter(Converter): fname = "%s.md" % uid fpath = self.args.out_md_dir / fname self.changed_files.append(fpath) - frontmatter = ( - dict( + frontmatter = dict( key=uid, title=talk.decoded("SUMMARY").decode("utf8"), format="conference", @@ -117,8 +116,7 @@ class HugoConverter(Converter): ).total_seconds() // 60 ), - ), - ) + ) if "CATEGORIES" in talk: frontmatter["tags"] = [str(t) for t in talk.get("CATEGORIES").cats] else: