Skip to content

Commit

Permalink
fix the linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kolos committed Oct 7, 2023
1 parent e96e70f commit b645492
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions miio/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,7 @@ def _decode(self, obj, context, path) -> Union[Dict, bytes]:
b'"value":00', b'"value":0'
),
# fix double commas for xiaomi.vacuum.b112, fw: 2.2.4_0049
lambda decrypted_bytes: decrypted_bytes.replace(
b',,', b','
),
lambda decrypted_bytes: decrypted_bytes.replace(b",,", b","),
]

for i, quirk in enumerate(decrypted_quirks):
Expand Down

0 comments on commit b645492

Please sign in to comment.