Skip to content

Commit

Permalink
ignore type
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Sep 21, 2021
1 parent 6a0ef0f commit aab6c5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions timvt/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
from importlib_resources import files as resources_files # type: ignore


templates = Jinja2Templates(
directory=str(resources_files(__package__).joinpath("templates"))
)
templates = Jinja2Templates(directory=str(resources_files(__package__) / "templates")) # type: ignore


TILE_RESPONSE_PARAMS: Dict[str, Any] = {
Expand Down
4 changes: 1 addition & 3 deletions timvt/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from importlib_resources import files as resources_files # type: ignore


templates = Jinja2Templates(
directory=str(resources_files(__package__).joinpath("templates"))
)
templates = Jinja2Templates(directory=str(resources_files(__package__) / "templates")) # type: ignore


# Create TiVTiler Application.
Expand Down

0 comments on commit aab6c5b

Please sign in to comment.