diff options
-rw-r--r-- | wikimini/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wikimini/__init__.py b/wikimini/__init__.py index d034d30..397c539 100644 --- a/wikimini/__init__.py +++ b/wikimini/__init__.py @@ -167,7 +167,7 @@ def _convert(obj: Union[mwp.nodes.Node, mwp.wikicode.Wikicode]) -> str: return "" elif str(obj.tag) == "table": rows = [] - header = None + header = () for row in obj.contents.nodes: if str(getattr(row, "tag", "")) != "tr": continue |