Skip to content

Commit

Permalink
Fix not declaring bg_color in StickerConvert
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Mar 23, 2024
1 parent 66c1643 commit a7b0b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sticker_convert/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def __init__(
self.fps: Optional[Fraction] = None
self.color: Optional[int] = None

self.bg_color: Optional[Tuple[int, int, int, int]]
self.bg_color: Optional[Tuple[int, int, int, int]] = None
if self.opt_comp.bg_color:
r, g, b = bytes.fromhex(self.opt_comp.bg_color)
self.bg_color = (r, g, b, 0)
Expand Down

0 comments on commit a7b0b9e

Please sign in to comment.