summaryrefslogtreecommitdiff
path: root/htmtl/htmtl.py
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2025-01-01 18:34:09 +0200
committerAsko Nõmm <asko@nmm.ee>2025-01-01 18:34:09 +0200
commit5e08a8b2f9258ae1f0aca7e3ad044b6360e07458 (patch)
tree3d1d70c043ecb45a7fe29a8987bc9561c52a3e41 /htmtl/htmtl.py
parent0dcbc92eeed565be873a733425c03049deb86388 (diff)
Update Dompa dep and remove typing.Dict usage
Diffstat (limited to 'htmtl/htmtl.py')
-rw-r--r--htmtl/htmtl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/htmtl/htmtl.py b/htmtl/htmtl.py
index 1deecac..a865eaf 100644
--- a/htmtl/htmtl.py
+++ b/htmtl/htmtl.py
@@ -52,7 +52,7 @@ class Htmtl:
for parser in self.__attribute_parsers:
parser_instance = parser(self.__data, expression_parser)
- self.__dom.update(parser_instance.traverse)
+ self.__dom.traverse(parser_instance.traverse)
def html(self) -> str:
self.__parse()