Skip to content

Commit

Permalink
Fixes #56: Bad tag name in Element.
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Dec 29, 2023
1 parent 7250e85 commit 7884b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytak/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def gen_cot_xml(
point.set("ce", ce)

flow_tags = ET.Element("_flow-tags_")
_ft_tag: str = f"{pytak.DEFAULT_HOST_ID}-v{pytak.__version__}"
_ft_tag: str = f"{pytak.DEFAULT_HOST_ID}-v{pytak.__version__}".replace("@", "-")
flow_tags.set(_ft_tag, pytak.cot_time())

detail = ET.Element("detail")
Expand Down

0 comments on commit 7884b0e

Please sign in to comment.