Skip to content

Commit 7b18c41

Browse files
committed
Don't try blinding already-blinded users
Some of the unions in the subselect here can return already-blinded users, which we would then try to re-blind, which fails. This avoids selecting them.
1 parent 01d54a6 commit 7b18c41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sogs/db.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ def check_needs_blinding(dbconn):
215215
EXCEPT
216216
SELECT "user" FROM needs_blinding
217217
)
218+
AND session_id LIKE '05%'
218219
""",
219220
dbconn=dbconn,
220221
):

0 commit comments

Comments
 (0)