This commit changes the 'soltesz.py' module into 'moncommands.py' and
[monitor.git] / plc.py
diff --git a/plc.py b/plc.py
index f609abb..0506ad5 100644 (file)
--- a/plc.py
+++ b/plc.py
@@ -53,8 +53,8 @@ class PLC:
                return self.api.__repr__()
 
 def getAuthAPI():
-       import auth
-       return PLC(auth.auth, auth.plc)
+       import monitorconfig
+       return PLC(monitorconfig.API_AUTH, monitorconfig.API_SERVER)
 
 '''
 Returns list of nodes in dbg as reported by PLC