1
0
Fork 0

fix variable clash

This commit is contained in:
Vivianne Langdon 2022-03-11 22:28:05 -08:00
parent cf53134577
commit d6767e42fc
4 changed files with 8 additions and 8 deletions

View file

@ -131,8 +131,8 @@ class Status(View):
status.to_activity(pure=not is_bookwyrm_request(request))
)
if redirect := maybe_redirect_local_path(request, status):
return redirect
if redirect_local_path := maybe_redirect_local_path(request, status):
return redirect_local_path
visible_thread = (
models.Status.privacy_filter(request.user)