diff --git a/files/classes/hole.py b/files/classes/hole.py index 95c9c5a70..62bd1c3d5 100644 --- a/files/classes/hole.py +++ b/files/classes/hole.py @@ -61,7 +61,7 @@ class Hole(Base): @property @lazy - def stealth_hole_unblock_number(self): + def stealth_hole_unblock_num(self): return self.stealth_hole_unblocks.count() @property diff --git a/files/templates/hole/holes.html b/files/templates/hole/holes.html index d38d40447..37f406a36 100644 --- a/files/templates/hole/holes.html +++ b/files/templates/hole/holes.html @@ -22,7 +22,7 @@ {{count}} {{hole.follow_num}} {% if hole.stealth %} - {{total_users - hole.stealth_hole_unblock_number}} + {{total_users - hole.stealth_hole_unblock_num}} {% else %} {{hole.block_num}} {% endif %}