summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMagnus Feuer <mfeuer@jaguarlandrover.com>2015-09-14 12:29:04 -0700
committerMagnus Feuer <mfeuer@jaguarlandrover.com>2015-09-14 12:29:04 -0700
commit220658f4994c9d993aec01c5017cf6d85f239fe6 (patch)
treec831da93c11711ab5fb7b5d3e74f873a69d7b830 /python
parent60d79c09330c89ad66e7d8e25133a6f171a08a81 (diff)
downloadrvi_core-220658f4994c9d993aec01c5017cf6d85f239fe6.tar.gz
mfeuer_json_params: Now packages params as a dicitonary.
Diffstat (limited to 'python')
-rwxr-xr-xpython/rvi_call.py4
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