Skip to content

Commit bfd3c1e

Browse files
allenporterCopilot
andauthored
Update roborock/roborock_message.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d8e2531 commit bfd3c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roborock/roborock_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class RoborockDataProtocol(RoborockEnum):
3737

3838
@classmethod
3939
def _missing_(cls: type[Self], key) -> Self:
40-
raise ValueError("%s not a valid key for Data Protocol", key)
40+
raise ValueError(f"{key} not a valid key for Data Protocol")
4141

4242

4343
class RoborockDyadDataProtocol(RoborockEnum):

0 commit comments

Comments
 (0)