Skip to content

Commit 8837e5e

Browse files
committed
Fix Python 3.9 support
1 parent 8d1f2e8 commit 8837e5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class Deprecated(ImportError):
6767
def loadPluginFromEntrypoint(name):
6868
if iter_entry_points is not None:
6969
for entrypoint_group in ENTRYPOINT_GROUPS:
70-
for entrypoint in iter_entry_points(group=entrypoint_group):
70+
for entrypoint in iter_entry_points()[entrypoint_group]:
7171
if entrypoint.name.lower() == name.lower():
7272
return entrypoint.load()
7373

0 commit comments

Comments
 (0)