From 860de7b4d790a605ab937c5067ee9cdef106dd62 Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Mon, 12 Oct 2009 15:58:53 +0000 Subject: [PATCH 1/1] Fix for VINI aggregate --- sfa/plc/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sfa/plc/api.py b/sfa/plc/api.py index a1e702fe..6423f1f0 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -119,7 +119,8 @@ class GeniAPI: self.credential = None # Initialize the PLC shell only if SFA wraps a myPLC - if (self.config.get_aggregate_rspec_type() == 'pl'): + rspec_type = self.config.get_aggregate_rspec_type() + if (rspec_type == 'pl' or rspec_type == 'vini'): self.plshell = self.getPLCShell() self.plshell_version = self.getPLCShellVersion() -- 2.43.0