mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Typing, return required
This commit is contained in:
parent
90a7414e06
commit
e33706bc33
|
@ -435,7 +435,8 @@ def init():
|
||||||
_initialized = 2
|
_initialized = 2
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
# FIXME TYPING: mypy suggests a default return may be necessary here?
|
logger.debug("Image: init failed to load any plugins")
|
||||||
|
return 0
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user