Skip to content

Commit 28d5c6f

Browse files
committed
use correct boolean
1 parent 458ddb2 commit 28d5c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/baserawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def _repr_html_(self):
254254
# Header
255255
html.append(f'<h3 style="color: #2c3e50;">{self.__class__.__name__}: {self.source_name()}</h3>')
256256

257-
if self.header is not None:
257+
if self.is_header_parsed:
258258
# Basic info
259259
nb_block = self.block_count()
260260
html.append(f"<p><strong>nb_block:</strong> {nb_block}</p>")

0 commit comments

Comments
 (0)