aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Forbes <[email protected]>2020-08-07 00:11:20 -0500
committerGitHub <[email protected]>2020-08-07 01:11:20 -0400
commitd7aa18beed456fcda35fa12678fcd6ab97e52c30 (patch)
tree9ef0095e98937336ee7ee223cf36ba351f3a98b4
parentFix error when trying to clear empty image/thumbnail in embeds (diff)
downloaddiscord.py-d7aa18beed456fcda35fa12678fcd6ab97e52c30.tar.xz
discord.py-d7aa18beed456fcda35fa12678fcd6ab97e52c30.zip
Extend __path__ with pkgutil to allow editable extensions
-rw-r--r--discord/__init__.py2
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