Skip to content

Commit

Permalink
Remove type ignore that is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Oct 23, 2023
1 parent a54cac3 commit 78e3a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/astro_metadata_translator/headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def _find_from_resource(
Name of resource read. `None` if no corrections found.
"""
if package is not None and resource_root is not None:
resource_path = resources.files(package).joinpath(resource_root, target_file) # type: ignore
resource_path = resources.files(package).joinpath(resource_root, target_file)
if resource_path.is_file():
resource_uri = f"resource://{package}/{posixpath.join(resource_root, target_file)}"
log.debug("Applying header corrections from package resource %s", resource_uri)
Expand Down

0 comments on commit 78e3a55

Please sign in to comment.