fix syntax error

This commit is contained in:
Zsombor Barna 2022-06-23 14:34:38 +02:00
parent 61369085f3
commit c0a92541d6
2 changed files with 1 additions and 2 deletions

3
admin
View File

@ -42,8 +42,7 @@ def construct_predicate_for_pushing(id_list, group_list, own_keys):
if any(key in own_keys for key in keylist):
return ("all" in (group_list+id_list) or
(id in id_list) or
set(groups).intersection(group_list)):
set(groups).intersection(group_list))
print(f"None of the local public keys are in the keyfile for {id}")
return False
return predicate