Skip to content

Commit

Permalink
Ensure tooltip is always a str
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard authored and AWhetter committed Jul 8, 2023
1 parent 9d970a6 commit 4ea04f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoapi/inheritance_diagrams.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def recurse(cls):
tooltip = '"%s"' % doc.replace('"', '\\"')

baselist = []
all_classes[cls] = (nodename, fullname, baselist, tooltip)
all_classes[cls] = (nodename, fullname, baselist, tooltip or "")

if fullname in top_classes:
return
Expand Down

0 comments on commit 4ea04f2

Please sign in to comment.