From 4c69f4f3b15f768a9eb6c5f6c6e71a0061ce67b8 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Thu, 29 Sep 2016 07:02:11 -0400 Subject: [PATCH] Fixed a bug where sometimes ssid or node might not have an assigned value. --- src/apex/plugins/apexparadigm/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apex/plugins/apexparadigm/__init__.py b/src/apex/plugins/apexparadigm/__init__.py index cf87b2c..1de3885 100644 --- a/src/apex/plugins/apexparadigm/__init__.py +++ b/src/apex/plugins/apexparadigm/__init__.py @@ -136,6 +136,8 @@ class ApexParadigmPlugin(object): return selected_hop = {} + node = None + ssid = None for hop_index in reversed(range(0, len(frame['path']))): hop = frame['path'][hop_index] # If this is the last node before a spent node, or a spent node itself, we are done -- GitLab