fix RuntimeWarning from utils.image subprocs

This commit is contained in:
io 2021-07-07 04:02:41 +00:00
parent 21703d7e44
commit 82706d8ea2
1 changed files with 3 additions and 1 deletions

View File

@ -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.