Skip to content

Commit

Permalink
glad: fixes plugin issues with pytho 3.8 and 3.9
Browse files Browse the repository at this point in the history
closes: Dav1dde#401
  • Loading branch information
Dav1dde committed Jan 3, 2023
1 parent f237a2b commit e576e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glad/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
_entry_points = entry_points

def entry_points(group=None):
return _entry_points()[group]
return _entry_points().get(group, [])
except ImportError:
from pkg_resources import iter_entry_points as entry_points

Expand Down

0 comments on commit e576e95

Please sign in to comment.