We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a0f70 commit d1e9d29Copy full SHA for d1e9d29
pymodbus/repl/client/main.py
@@ -155,19 +155,19 @@ def _process_args(args, string=True):
155
if not string:
156
if "," in val:
157
val = val.split(",")
158
- val = [int(v) for v in val]
+ val = [int(v, 0) for v in val]
159
else:
160
- val = int(val)
+ val = int(val, 0)
161
kwargs[arg_name] = val
162
163
arg_name, val = arg, args[i + 1]
164
try:
165
166
167
168
169
170
171
172
skip_index = i + 1
173
except TypeError:
0 commit comments