Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion can/interfaces/vector/canlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def __init__(
else:
# Assume comma separated string of channels
self.channels = [int(ch.strip()) for ch in channel.split(",")]
self._app_name = app_name.encode() if app_name is not None else ""
self._app_name = app_name.encode() if app_name is not None else b""
self.channel_info = "Application %s: %s" % (
app_name,
", ".join("CAN %d" % (ch + 1) for ch in self.channels),
Expand Down