Skip to content

Commit

Permalink
Remove int cast from ParseValueWithType value argument (#7850)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs authored Jun 24, 2021
1 parent 84965d7 commit e90858e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/python/chip-device-ctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def FormatZCLArguments(args, command):
raise ParsingError("Argument should in key=value format")
key, value = kvPair.split("=", 1)
valueType = command.get(key, None)
commandArgs[key] = ParseValueWithType(int(value), valueType)
commandArgs[key] = ParseValueWithType(value, valueType)
return commandArgs


Expand Down

0 comments on commit e90858e

Please sign in to comment.