fix audio event create (#15299)

This commit is contained in:
James Livulpi
2024-12-01 21:07:44 -05:00
committed by GitHub
parent c95bc9fe44
commit 833cdcb6d2

View File

@@ -135,7 +135,7 @@ class ExternalEventProcessor:
draw: dict[str, any],
img_frame: Optional[ndarray],
) -> Optional[str]:
if not img_frame:
if img_frame is None:
return None
# write clean snapshot if enabled