There was an error while loading. Please reload this page.
1 parent 856cb99 commit 6a16cefCopy full SHA for 6a16cef
1 file changed
syft_client/sync/peers/peer_list.py
@@ -98,7 +98,7 @@ def __str__(self) -> str:
98
99
def _repr_html_(self) -> str | None:
100
"""Used by Jupyter to display the summary; falls back to text elsewhere."""
101
- if "SYFT_NO_REPR_HTML" in os.environ:
+ if os.environ.get("SYFT_NO_REPR_HTML", "").lower() in {"1", "true", "yes"}:
102
return None
103
return f"<pre>{html.escape(self._summary_text())}</pre>"
104
0 commit comments