Skip to content

Commit 706327d

Browse files
committed
Add storage_location to the __getitem__ function of Array class
1 parent eaaa71d commit 706327d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

canopen/objectdictionary/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def __getitem__(self, subindex):
197197
var.parent = self
198198
for attr in ("data_type", "unit", "factor", "min", "max", "default",
199199
"access_type", "description", "value_descriptions",
200-
"bit_definitions"):
200+
"bit_definitions", "storage_location"):
201201
if attr in template.__dict__:
202202
var.__dict__[attr] = template.__dict__[attr]
203203
else:

0 commit comments

Comments
 (0)