Fix sorting bug.

This commit is contained in:
Flancian 2020-12-27 21:28:05 +01:00
parent 03a5e5c71e
commit b6beaacdb3
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Node:
nodes = []
for subnode in self.subnodes:
nodes.extend(subnode.pull_nodes())
return sorted(set(nodes))
return sorted(set(nodes), key=lambda x: x.uri)
def push_links(self):
links = []