Skip to content

Commit

Permalink
fix: allow uppercase module names
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnacioHeredia committed Nov 20, 2024
1 parent cb9b07c commit f2938c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai4papi/routers/v1/catalog/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_items(
modules = {}
for section in cfg.sections():
items = dict(cfg.items(section))
key = items.pop('path').lower()
key = items.pop('path')
items['url'] = items['url'].replace('.git', '') # remove `.git`, if present
modules[key] = items

Expand Down

0 comments on commit f2938c4

Please sign in to comment.