Skip to content

Commit

Permalink
Don't smart-filter customData on write
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed May 29, 2024
1 parent 727b7bd commit 9b2b99e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/fontra_rcjk/backend_fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,6 @@ async def getCustomData(self) -> dict[str, Any]:

async def putCustomData(self, customData: dict[str, Any]) -> None:
customDataPath = self.path / FONTLIB_FILENAME
customData = {
k: v
for k, v in customData.items()
if k not in standardCustomDataItems or standardCustomDataItems[k] != v
}
customDataPath.write_text(json.dumps(customData, indent=2), encoding="utf-8")

async def watchExternalChanges(
Expand Down

0 comments on commit 9b2b99e

Please sign in to comment.