mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix import error
This commit is contained in:
parent
cac38b4286
commit
f628dd9730
@ -24,7 +24,7 @@ import warnings
|
||||
|
||||
try:
|
||||
import importlib.metadata as importlib_metadata
|
||||
except ImportError:
|
||||
except (ModuleNotFoundError, ImportError):
|
||||
import importlib_metadata
|
||||
|
||||
from gunicorn.errors import AppImportError
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user