From 63ab64b34d167cd48fe045d6c98b95bb50acb846 Mon Sep 17 00:00:00 2001 From: leonidastri Date: Sun, 29 Sep 2024 11:01:53 +0200 Subject: [PATCH] fix --- groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/groups.py b/groups.py index 8bc936db7..cf3b888de 100644 --- a/groups.py +++ b/groups.py @@ -988,7 +988,7 @@ def group_create(ctx, group_name, category, subcategory, schema_id, expiration_d if not sram.sram_connect_service_collaboration(ctx, short_name): return api.Error('sram_error', 'Something went wrong connecting service to group "{}" in SRAM'.format(group_name)) - if ctx.uuGroupExists(group_name): + if ctx.uuGroupExists(group_name, ''): return api.Error('group_exists', "Group {} not created, it already exists".format(group_name)) response = ctx.uuGroupAdd(group_name, category, subcategory, schema_id, expiration_date, description, data_classification, co_identifier, '', '')['arguments']