From a4bfaf5a2878c9f8cd0fba808b17795acf353268 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 3 Nov 2023 21:31:52 +0200 Subject: [PATCH] fix wrong function --- files/routes/routehelpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/routehelpers.py b/files/routes/routehelpers.py index 1792f5cdf..a4ab1fd76 100644 --- a/files/routes/routehelpers.py +++ b/files/routes/routehelpers.py @@ -79,7 +79,7 @@ def check_for_alts(current, include_current_session=False): User.email_verified == True, User.id != current.id, ).all()] - past_accs.extend(more_ids) + past_accs.update(more_ids) for past_id in list(past_accs): if past_id == current.id: continue