diff --git a/codebasin/report.py b/codebasin/report.py index fb7638f..1ac2dbc 100644 --- a/codebasin/report.py +++ b/codebasin/report.py @@ -633,7 +633,7 @@ def insert( parent.setmap[ps] += setmap[ps] # If this name exists, find the node. - if parent is not None and path.name in parent.children: + if path.name in parent.children: node = parent.children[path.name] # Otherwise, create the node.