diff --git a/utils/__init__.py b/utils/__init__.py index f6d830d..af5395c 100644 --- a/utils/__init__.py +++ b/utils/__init__.py @@ -5,6 +5,8 @@ from . import archive from . import emote from . import errors from . import paginator -from . import emote_client # note: do not import .image in case the user doesn't want it # since importing image can take a long time. +# Do not import .emote_client, either, because otherwise running python -m utils.image +# will cause utils.image to appear in sys.modules after import of package 'utils' but +# prior to execution of 'utils.image' which may result in unpredictable behavior.