Skip to content

Commit 14cc562

Browse files
committed
rename variable
1 parent 05a29ee commit 14cc562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/canmatrix/formats/fibex.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,8 @@ def dump(db, f, **options):
467467
create_sub_element_fx(cluster, "SPEED", "500")
468468
create_sub_element_fx(cluster, "IS-HIGH-LOW-BIT-ORDER", "true")
469469
create_sub_element_fx(cluster, "BIT-COUNTING-POLICY", "MONOTONE")
470-
attri = db.attributes["BusType"]
471-
if attri is not None and attri == "CAN FD":
470+
attribute = db.attributes["BusType"]
471+
if attribute is not None and attribute == "CAN FD":
472472
protocol = create_sub_element_fx(cluster, "PROTOCOL", "CAN-FD")
473473
create_sub_element_fx(cluster, "CAN-FD-SPEED", "2000000")
474474
else:

0 commit comments

Comments
 (0)