summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Manfre2022-12-11 11:36:27 -0500
committerGitHub2022-12-11 09:36:27 -0700
commitb0a8967a03736d437ff1d5ded9feedead6fd4382 (patch)
tree70b3cd4642d87585c3c51f8912d810e2ad77c0e8
parentf504e9c3516db48647b75477f4672e288413daf7 (diff)
downloadtakahe-b0a8967a03736d437ff1d5ded9feedead6fd4382.tar.gz
takahe-b0a8967a03736d437ff1d5ded9feedead6fd4382.tar.bz2
takahe-b0a8967a03736d437ff1d5ded9feedead6fd4382.zip
IdentityIconCacheView was incorrectly looking for image_uri (#155)
-rw-r--r--mediaproxy/views.py2
1 files changed, 1 insertions, 1 deletions
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