From: Andy Bavier Date: Mon, 12 Oct 2009 15:58:53 +0000 (+0000) Subject: Fix for VINI aggregate X-Git-Tag: sfa-0.9-6~198 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=860de7b4d790a605ab937c5067ee9cdef106dd62;p=sfa.git Fix for VINI aggregate --- 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()