Skip to content

Commit

Permalink
[QMI-094] Mini boy-scout improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri Ervasti committed Aug 12, 2024
1 parent bdc6a08 commit bc4d686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qmi/core/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def _parse_keyword_parameters(self, strings: List[str]) -> Dict[str, Any]:
if k in self._keywords.keys():
try:
ty = self._keywords[k][0]
if ty == int and v.startswith('0x'):
if ty is int and v.startswith('0x'):
parameters[k] = int(v, 16)
else:
parameters[k] = ty(v)
Expand Down

0 comments on commit bc4d686

Please sign in to comment.