Update sfatables framework for new manager plugins
[sfa.git] / sfa / plc / api.py
index 2cf4923..7f7d0e3 100644 (file)
@@ -51,7 +51,7 @@ class SfaAPI(BaseAPI):
         self.credential = None
         
         # Initialize the PLC shell only if SFA wraps a myPLC
-        rspec_type = self.config.get_aggregate_rspec_type()
+        rspec_type = self.config.get_aggregate_type()
         if (rspec_type == 'pl' or rspec_type == 'vini'):
             self.plshell = self.getPLCShell()
             self.plshell_version = self.getPLCShellVersion()