From 9e2479ef794a0ba65466378107db8361613e71d1 Mon Sep 17 00:00:00 2001 From: Ryan Barrett Date: Sun, 5 Jan 2025 20:08:36 -0800 Subject: [PATCH] web UI: followers/ing page bug fix, handle missing handle fixes https://console.cloud.google.com/errors/detail/CIvZ14eI8r2zhgE;locations=global;time=P30D?project=bridgy-federated&inv=1&invt=AbmE_w --- models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models.py b/models.py index 3716e2c6..84bf3e49 100644 --- a/models.py +++ b/models.py @@ -829,10 +829,10 @@ def user_link(self, name=True, handle=True, pictures=False, proto=None, img = f' ' if handle: - handle_str = self.handle_as(proto) + handle_str = self.handle_as(proto) or '' if name and self.name() != handle_str: - name_str = self.name() + name_str = self.name() or '' if handle_str and name_str: dot = ' · '