Skip to content

Commit

Permalink
fix(linker): fix the name of get_next_referenceable_descendants when …
Browse files Browse the repository at this point in the history
…it recursively call itself
  • Loading branch information
YishaiGlasner committed Jan 18, 2023
1 parent 3678f4d commit 7e52d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sefaria/model/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ def get_next_referenceable_descendants(self):
if getattr(node, 'referenceable', True):
nodes.append(node)
else:
nodes += node.get_referenceable_nodes()
nodes += node.get_next_referenceable_descendants()
return nodes

def get_referenceable_alone_nodes(self):
Expand Down

0 comments on commit 7e52d80

Please sign in to comment.