Commit 4344252c authored by Jarrod Pas's avatar Jarrod Pas
Browse files

Fixes communuty for nodes with no community

parent 2d6ae20f
......@@ -129,7 +129,7 @@ class Community:
If the node has no community it is it's own all alone.
if node not in self._community:
self._community[node] = frozenset(list(node))
self._community[node] = frozenset(list([node]))
return self._community[node]
def local_popularity(self, node):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment