Skip to content

Commit 719fc3d

Browse files
committed
Replace python3.9+ only code
1 parent 82a44a2 commit 719fc3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

neo/rawio/alphaomegarawio.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,8 @@ def _parse_header(self):
722722
if c["name"].startswith(channel_name_start)
723723
}
724724
streams[stream_id] = channels
725-
events = dc | p
725+
events = dc.copy()
726+
events.update(p)
726727
segment = {
727728
"metadata": metadata,
728729
"streams": streams,

0 commit comments

Comments
 (0)