From 1bd5afd21bd97f69ad1341c18e82528e2d299651 Mon Sep 17 00:00:00 2001 From: Ethan Nguyen Date: Wed, 9 Nov 2022 16:58:11 -0600 Subject: [PATCH] fix(authentication): remove pylint check --- tjdests/apps/authentication/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tjdests/apps/authentication/views.py b/tjdests/apps/authentication/views.py index 67b3ea2..e015ba3 100644 --- a/tjdests/apps/authentication/views.py +++ b/tjdests/apps/authentication/views.py @@ -46,7 +46,6 @@ def accept_tos_view(request: HttpRequest) -> HttpResponse: if form.is_valid(): accept_tos = form.cleaned_data.get("accept_tos") - assert accept_tos is bool request.user.accepted_terms = accept_tos request.user.set_password(form.cleaned_data.get("password")) request.user.save()