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 28, 2024
1 parent 78cb323 commit fd8dfff
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:
return str(resources.path(package, resource))
Expand Down

0 comments on commit fd8dfff

Please sign in to comment.