Skip to content

Commit

Permalink
replace dash with lowdash in project_name
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTango committed Feb 8, 2022
1 parent 169c395 commit 978a754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/autoinclude/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def load_z3c_packages(target=""):
# we can include it.
if target and ep.module_name != target:
continue
module_name = ep.dist.project_name
module_name = ep.dist.project_name.replace("-", "_")
if module_name not in _known_module_names:
try:
dist = importlib.import_module(module_name)
Expand Down

0 comments on commit 978a754

Please sign in to comment.