diff --git a/gsuid_core/utils/image/image_tools.py b/gsuid_core/utils/image/image_tools.py index 1f56577..79b8192 100644 --- a/gsuid_core/utils/image/image_tools.py +++ b/gsuid_core/utils/image/image_tools.py @@ -29,7 +29,7 @@ async def get_event_avatar(ev: Event) -> Image.Image: async def get_avatar_with_ring( ev: Event, size: int = 300, - bg_color: Tuple[int, int, int] | None = None, + bg_color: Union[Tuple[int, int, int], None] = None, is_ring: bool = True, ) -> Image.Image: avatar = await get_event_avatar(ev)