diff options
author | Magnus Feuer <mfeuer@jaguarlandrover.com> | 2015-09-14 12:29:04 -0700 |
---|---|---|
committer | Magnus Feuer <mfeuer@jaguarlandrover.com> | 2015-09-14 12:29:04 -0700 |
commit | 220658f4994c9d993aec01c5017cf6d85f239fe6 (patch) | |
tree | c831da93c11711ab5fb7b5d3e74f873a69d7b830 /python | |
parent | 60d79c09330c89ad66e7d8e25133a6f171a08a81 (diff) | |
download | rvi_core-220658f4994c9d993aec01c5017cf6d85f239fe6.tar.gz |
mfeuer_json_params: Now packages params as a dicitonary.
Diffstat (limited to 'python')
-rwxr-xr-x | python/rvi_call.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/rvi_call.py b/python/rvi_call.py index 18bce73..746b4ee 100755 --- a/python/rvi_call.py +++ b/python/rvi_call.py @@ -49,11 +49,11 @@ if len(args) < 1: # Construct a dictionary from the provided paths. i = 0 service = args[0] -rvi_args = [] +rvi_args = {} for i in args[1:]: print i [k, v] = i.split('=') - rvi_args = rvi_args + [{ k: v}] + rvi_args[k] = v |