From b0a8967a03736d437ff1d5ded9feedead6fd4382 Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Sun, 11 Dec 2022 11:36:27 -0500 Subject: IdentityIconCacheView was incorrectly looking for image_uri (#155) --- mediaproxy/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediaproxy/views.py b/mediaproxy/views.py index e799e8b..a44abb6 100644 --- a/mediaproxy/views.py +++ b/mediaproxy/views.py @@ -66,7 +66,7 @@ class IdentityIconCacheView(BaseCacheView): def get_remote_url(self): self.identity = get_object_or_404(Identity, pk=self.kwargs["identity_id"]) - if self.identity.local or not self.identity.image_uri: + if self.identity.local or not self.identity.icon_uri: raise Http404() return self.identity.icon_uri -- cgit v1.2.3