Skip to content

NotificationProtocolDatabaseLocation creation#478

Open
Christian-B wants to merge 1 commit into
masterfrom
NotificationProtocolDatabaseLocation
Open

NotificationProtocolDatabaseLocation creation#478
Christian-B wants to merge 1 commit into
masterfrom
NotificationProtocolDatabaseLocation

Conversation

@Christian-B

Copy link
Copy Markdown
Member

fixes #424

This simplifies the code to what it actually does.

@Christian-B Christian-B requested a review from rowleya July 2, 2026 15:04
if command_number == EIEIO_COMMAND_IDS.DATABASE.value:
return NotificationProtocolDatabaseLocation.from_bytestring(
command_header, data, offset + 2)
return NotificationProtocolDatabaseLocation()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't that miss the content of the message?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, you are claiming that the message is always empty... doesn't that fail in tests then since the tests will need to read the database at some point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Illegal switch from bytes to string

3 participants