Skip to content

Commit

Permalink
Fix alpha switch
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Apr 22, 2021
1 parent dd2db31 commit 56115d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion froide/foirequest/views/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def show_foirequest(request, obj, template_name="foirequest/alpha/show.html",
request.session[alpha_key] = False
return redirect(obj)

if not request.session.get(alpha_key):
if request.session.get(alpha_key) is False:
template_name = [
"foirequest/show.html",
"foirequest/alpha/show.html",
Expand Down

0 comments on commit 56115d2

Please sign in to comment.