From 034fae0f47319735a2bb7b00a3097c5355b8978e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 5 Dec 2014 11:24:43 +0100 Subject: [PATCH] Patch for an Issue #992 --- lib/controller/handler.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/controller/handler.py b/lib/controller/handler.py index 702215e7c..13b570442 100644 --- a/lib/controller/handler.py +++ b/lib/controller/handler.py @@ -93,7 +93,10 @@ def setHandler(): if sqlalchemy.connector: conf.dbmsConnector = sqlalchemy else: - conf.dbmsConnector.connect() + try: + conf.dbmsConnector.connect() + except NameError: + pass else: conf.dbmsConnector.connect()