Skip to content

Commit eae81ea

Browse files
committed
fix #460
1 parent 7e7e987 commit eae81ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/exampleMerge.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
canmatrix.copy.copy_frame(canmatrix.ArbitrationId(100), db2, db3)
3535

3636
# Copy frame "Engine_123" from first CAN-Matrix to target-Matrix
37-
canmatrix.copy.copy_frame("Engine_123", db1, db3)
37+
canmatrix.copy.copy_frame(canmatrix.ArbitrationId(200), db1, db3)
3838

3939
# Copy ECU (with all Frames) "Gateway" from first CAN-Matrix to target-Matrix
4040
canmatrix.copy.copy_ecu_with_frames("Gateway", db1, db3)
@@ -49,4 +49,4 @@
4949
# export the new (target)-Matrix for example as .dbc:
5050
#
5151

52-
canmatrix.formats.dumpp(db3, "target.dbc")
52+
canmatrix.formats.dumpp({"":db3}, "target.dbc")

0 commit comments

Comments
 (0)