Tweaking this code to silence errors in the github build

This commit is contained in:
Jamie Hardt
2022-11-15 12:28:50 -08:00
parent 1df0b79ab6
commit 29e1753b18

View File

@@ -51,7 +51,7 @@ class TagListVisitor(NodeVisitor):
modifier_opt, line_opt, _, tag_list_opt = visited_children modifier_opt, line_opt, _, tag_list_opt = visited_children
return TaggedStringResult(content=next(iter(line_opt), None), return TaggedStringResult(content=next(iter(line_opt), None),
tag_dict=next(iter(tag_list_opt), []), tag_dict=next(iter(tag_list_opt), dict()),
mode=TagPreModes(next(iter(modifier_opt), 'Normal')) mode=TagPreModes(next(iter(modifier_opt), 'Normal'))
) )