Skip to content

Commit

Permalink
fix: fix pylint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Jan 30, 2025
1 parent 7c4e247 commit 3788d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/experiments/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def get_bucket(self, course_key=None, track=True):
if (
track and hasattr(request, 'session') and
session_key not in request.session and
not masquerading_as_specific_student and not anonymous
not masquerading_as_specific_student and not anonymous # pylint: disable=used-before-assignment
):
segment.track(
user_id=user.id,
Expand Down

0 comments on commit 3788d68

Please sign in to comment.