Skip to content

Commit

Permalink
Fixed return type to satisfy mypy check
Browse files Browse the repository at this point in the history
  • Loading branch information
drgrigg committed Dec 29, 2023
1 parent 0e4293d commit 7698ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion se/se_epub_generate_toc.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def get_toc_id_for_special_item(node: EasyXmlElement) -> str:
toc_id = parent.get_attr("id")
if toc_id:
return toc_id
return None
return ""


def get_level(node: EasyXmlElement, toc_list: list) -> int:
Expand Down

0 comments on commit 7698ef1

Please sign in to comment.