Fix a bug in the parsing of FlowId after the JSON format for flows
was changed.
Bug fixed by: Masa
diff --git a/web/topology_rest.py b/web/topology_rest.py
index bac3113..5198059 100755
--- a/web/topology_rest.py
+++ b/web/topology_rest.py
@@ -960,7 +960,7 @@
parsedResult = json.loads(result)
if len(parsedResult) > 0:
if parsedResult[-1].has_key('flowId'):
- flow_nr = int(parsedResult[-1]['flowId'], 16)
+ flow_nr = int(parsedResult[-1]['flowId']['value'], 16)
else:
flow_nr = -1 # first flow
print "first flow"