Skip to content

Commit 80ca150

Browse files
committed
PdoMap.save(): reverted "if self.map is not None" check
1 parent dd89678 commit 80ca150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

canopen/pdo/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def save(self) -> None:
395395
logger.info("Setting SYNC start value to %d", self.sync_start_value)
396396
self.com_record[6].raw = self.sync_start_value
397397

398-
if self.map:
398+
if self.map is not None:
399399
try:
400400
self.map_array[0].raw = 0
401401
except SdoAbortedError:

0 commit comments

Comments
 (0)