diff --git a/ics2mdwn.py b/ics2mdwn.py index 77d2a93..c86ebed 100755 --- a/ics2mdwn.py +++ b/ics2mdwn.py @@ -136,8 +136,8 @@ class HugoConverter(Converter): if "CATEGORIES" in talk: try: vobject = talk.get("CATEGORIES") - if hasattr(vobject, 'cats'): - vobject = vobject.cat + if hasattr(vobject, "cats"): + vobject = vobject.cats frontmatter["tags"] = [str(t) for t in vobject] else: frontmatter["tags"] = [str(vobject)]