Skip to content

Commit 67c1e01

Browse files
fix: properly format empty facets in snapshot serialization
Co-Authored-By: [email protected] <[email protected]>
1 parent 6415f3f commit 67c1e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/selfie-lib/selfie_lib/SelfieImplementations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def _serializeOnlyFacets(snapshot: Snapshot, facets: list[str]) -> str:
254254
if value is None:
255255
continue
256256
if not facet:
257-
SnapshotFile.writeEntry(writer, "", None, value)
257+
SnapshotFile.writeEntry(writer, "", "html", value)
258258
else:
259259
SnapshotFile.writeEntry(writer, "", facet, value)
260260

0 commit comments

Comments
 (0)