Skip to content

Commit

Permalink
fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Jul 17, 2023
1 parent cac38b4 commit f628dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gunicorn/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

try:
import importlib.metadata as importlib_metadata
except ImportError:
except (ModuleNotFoundError, ImportError):
import importlib_metadata

from gunicorn.errors import AppImportError
Expand Down

0 comments on commit f628dd9

Please sign in to comment.