diff --git a/kobo/apps/audit_log/models.py b/kobo/apps/audit_log/models.py index ddb6ccc848..cb8e4a7a06 100644 --- a/kobo/apps/audit_log/models.py +++ b/kobo/apps/audit_log/models.py @@ -765,7 +765,7 @@ def handle_anonymous_user_permissions( # remove each permission as it is logged so we can see if there # are any unusual ones left over for combination, action in ANONYMOUS_USER_PERMISSION_ACTIONS.items(): - # ANONYMOUS_USER_PERMIISSION_ACTIONS has tuples as keys + # ANONYMOUS_USER_PERMISSION_ACTIONS has tuples as keys permission, was_added = combination list_to_update = perms_added if was_added else perms_removed if permission in list_to_update: