Skip to content

Commit

Permalink
Merge pull request #186 from catscanner/patch-1
Browse files Browse the repository at this point in the history
Update app.py
  • Loading branch information
primetheus authored Sep 28, 2023
2 parents 8fcb9f1 + f2ffb67 commit 68b6c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def sync_team(client=None, owner=None, team_id=None, slug=None):
try:
directory_group = get_directory_from_slug(slug, custom_map, org)
# If we're filtering on group prefix, skip if the group doesn't match
if group_prefix.length() > 0 and not directory_group.startswith(
if len(group_prefix) > 0 and not directory_group.startswith(
tuple(group_prefix)
):
print(f"skipping team {team.slug} - not in group prefix")
Expand Down

0 comments on commit 68b6c23

Please sign in to comment.