From 7ad3e6a8443ab7b0d37b6044b19f1f38af0021ff Mon Sep 17 00:00:00 2001 From: Peter Sanchez Date: Tue, 28 Mar 2023 18:58:38 -0600 Subject: [PATCH] Removing getiterator --- src/wiki/core/markdown/mdx/responsivetable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wiki/core/markdown/mdx/responsivetable.py b/src/wiki/core/markdown/mdx/responsivetable.py index 56d7875d..ea098151 100644 --- a/src/wiki/core/markdown/mdx/responsivetable.py +++ b/src/wiki/core/markdown/mdx/responsivetable.py @@ -12,7 +12,7 @@ class ResponsiveTableExtension(markdown.Extension): class ResponsiveTableTree(Treeprocessor): def run(self, root): - for table_wrapper in list(root.getiterator("table")): + for table_wrapper in list(root.iter("table")): table_new = self.create_table_element() self.convert_to_wrapper(table_wrapper) self.move_children(table_wrapper, table_new) -- 2.45.2