From 00010df3fbed027dae38209c6c079edce99a0d83 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 16 Nov 2012 12:19:51 -0500 Subject: [PATCH] Modify except --- PLC/Shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PLC/Shell.py b/PLC/Shell.py index 4440979e..997fcde2 100644 --- a/PLC/Shell.py +++ b/PLC/Shell.py @@ -84,7 +84,7 @@ class Shell: self.config = self.api.config self.url = None self.server = None - except Exception, err: + except: # Try connecting to the API server via XML-RPC self.api = PLCAPI(None) -- 2.47.0