diff --git a/nikola/utils.py b/nikola/utils.py index 3d6b9edad..2e0d86f20 100644 --- a/nikola/utils.py +++ b/nikola/utils.py @@ -576,7 +576,7 @@ def __repr__(self): sort_keys=True)) -def pkg_resources(package: str, resource: str) -> str: +def pkg_resources(package, resource): """Return the resource based on the python version.""" if sys.version_info.minor <= 8: with resources.path(package, resource) as path: