From 8e08afdd2d46f3bab7472de485a6c6325d3c4455 Mon Sep 17 00:00:00 2001 From: LeandroJatai Date: Wed, 19 Apr 2023 09:07:48 -0300 Subject: [PATCH] fix: ativa filtro que estava comentado para debug --- sapl/base/receivers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sapl/base/receivers.py b/sapl/base/receivers.py index 36bd81792..6a63164da 100644 --- a/sapl/base/receivers.py +++ b/sapl/base/receivers.py @@ -368,8 +368,7 @@ def signed_files_extraction_function(sender, instance, **kwargs): signs_dict = {} for s in signs: - # or 'ICP' in s[1][1] and 'ICP' not in signs_dict[s[0]][1]: - if s[0] not in signs_dict: + if s[0] not in signs_dict or 'ICP' in s[1][1] and 'ICP' not in signs_dict[s[0]][1]: signs_dict[s[0]] = s[1] signs = sorted(signs_dict.items(), key=lambda sign: (