make search case insensitive, uncomment tasks from main
This commit is contained in:
+3
-1
@@ -21,7 +21,9 @@ def get_groups():
|
||||
if details is None:
|
||||
continue
|
||||
for detail in details:
|
||||
if detail['ad_group'] == group_name:
|
||||
# Check if 'ad_group' exists and is not None before accessing it
|
||||
ad_group = detail.get('ad_group')
|
||||
if isinstance(ad_group, str) and ad_group.lower() == group_name.lower():
|
||||
gpos.append({
|
||||
"gpo": gpo,
|
||||
"local_group": detail['local_group'],
|
||||
|
||||
Reference in New Issue
Block a user