Skip to content

Commit

Permalink
fix misplaced "type: ignore"
Browse files Browse the repository at this point in the history
  • Loading branch information
mozman committed Aug 31, 2024
1 parent 28b99dc commit d2dc9f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ezdxf/addons/drawing/frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,8 +751,8 @@ def draw_image_entity(self, entity: DXFGraphic, properties: Properties) -> None:

if image.transparency != 0.0:
loaded_image = _multiply_alpha(
loaded_image,
1.0 - image.transparency, # type: ignore
loaded_image, # type: ignore
1.0 - image.transparency,
)
image_data = ImageData(
image=np.array(loaded_image),
Expand Down

0 comments on commit d2dc9f7

Please sign in to comment.