Skip to content

Commit

Permalink
mypy updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Dec 12, 2024
1 parent 001e7d4 commit 16f12af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions maps4fs/generator/texture.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,8 @@ def _osm_preview(self) -> str:
merged.dtype,
)
preview_path = os.path.join(self.previews_directory, "textures_osm.png")

# type: ignore
cv2.imwrite(preview_path, merged) # pylint: disable=no-member
self.logger.info("Preview saved to %s.", preview_path)
return preview_path

0 comments on commit 16f12af

Please sign in to comment.