Changed 'import auth' statements to use plc.py or monitorconfig.py
[monitor.git] / findbad.py
index 7efa52c..2b8fe00 100755 (executable)
@@ -29,8 +29,7 @@ import syncplcdb
 from nodequery import verify,query_to_dict,node_select
 import traceback
 import plc
-import auth
-api = plc.PLC(auth.auth, auth.plc)
+api = plc.getAuthAPI()
 
 def collectPingAndSSH(nodename, cohash):
        ### RUN PING ######################