Skip to content

Commit

Permalink
removing type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
fondbcn committed Jan 30, 2024
1 parent 7efa0c0 commit 6431f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6431f31

Please sign in to comment.