mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-16 10:14:47 +03:00
Simplified condition in init method
This commit is contained in:
parent
dc5c0d303c
commit
b5ef9e4fd1
|
@ -388,7 +388,7 @@ def init():
|
|||
"""
|
||||
|
||||
global _initialized
|
||||
if _initialized >= 2:
|
||||
if _initialized == 2:
|
||||
return 0
|
||||
|
||||
for plugin in _plugins:
|
||||
|
|
Loading…
Reference in New Issue
Block a user