Skip to content

Commit

Permalink
getBackgroundImage will return None if the image doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Nov 9, 2024
1 parent d54b493 commit f4a09ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fontra/core/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async def watchExternalChanges(
class ReadBackGroundImage(Protocol):
async def getBackgroundImage(
self, glyphName: str, layerName: str, imageIdentifier: str
) -> ImageData:
) -> ImageData | None:
pass


Expand Down

0 comments on commit f4a09ae

Please sign in to comment.