diff options
| author | Bryan Forbes <[email protected]> | 2020-08-07 00:11:20 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-07 01:11:20 -0400 |
| commit | d7aa18beed456fcda35fa12678fcd6ab97e52c30 (patch) | |
| tree | 9ef0095e98937336ee7ee223cf36ba351f3a98b4 | |
| parent | Fix error when trying to clear empty image/thumbnail in embeds (diff) | |
| download | discord.py-d7aa18beed456fcda35fa12678fcd6ab97e52c30.tar.xz discord.py-d7aa18beed456fcda35fa12678fcd6ab97e52c30.zip | |
Extend __path__ with pkgutil to allow editable extensions
| -rw-r--r-- | discord/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/__init__.py b/discord/__init__.py index 628b74b6..b56de7a4 100644 --- a/discord/__init__.py +++ b/discord/__init__.py @@ -17,6 +17,8 @@ __license__ = 'MIT' __copyright__ = 'Copyright 2015-2020 Rapptz' __version__ = '1.4.0' +__path__ = __import__('pkgutil').extend_path(__path__, __name__) + from collections import namedtuple import logging |