Fakultas Ilmu Komputer UI

Commit ad79fea3 authored by Dave Nathanael's avatar Dave Nathanael
Browse files

[REFACTOR] Change `==` to `is` clause

parent 41be8f20
Pipeline #46168 passed with stages
in 21 minutes and 27 seconds
......@@ -90,7 +90,7 @@ class AccountViewSet(viewsets.ModelViewSet):
[serializer.data["email"]],
fail_silently=False,
)
elif is_active == False:
elif is_active is False:
send_mail(EMAIL_ACCOUNT_DEACTIVATION_SUBJECT,
EMAIL_ACCOUNT_DEACTIVATION_CONTENT.format(name=serializer.data["name"]),
EMAIL_ACCOUNT_DEACTIVATION_SENDER,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment