Skip to content

Commit

Permalink
Update etna/core/serializers/images.py
Browse files Browse the repository at this point in the history
Co-authored-by: James Biggs <62654785+jamesbiggs@users.noreply.github.com>
  • Loading branch information
ahosgood and jamesbiggs authored Dec 16, 2024
1 parent 1f3c642 commit 967fe13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etna/core/serializers/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(

def to_representation(self, value):
if value:
background_colour_redition = (
background_colour_rendition = (
f"|bgcolor-{self.background_colour}" if self.background_colour else ""
)
jpeg_image = value.get_rendition(
Expand Down

0 comments on commit 967fe13

Please sign in to comment.