Commit a5b0a270 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

robotpkg management command: look for */*{slug}

to get py-*
parent c8cfd0d8
......@@ -20,7 +20,7 @@ class Command(BaseCommand):
for project in Project.objects.all():
for slug in [project.slug, project.slug.replace('_', '-')]:
for pkg in path.glob(f'*/{slug}'):
for pkg in path.glob(f'*/*{slug}'):
obj, created = Robotpkg.objects.get_or_create(,,
if created:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment