Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 034fae0

Browse files
committed
Patch for an Issue #992
1 parent 7673f3e commit 034fae0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/controller/handler.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ def setHandler():
9393
if sqlalchemy.connector:
9494
conf.dbmsConnector = sqlalchemy
9595
else:
96-
conf.dbmsConnector.connect()
96+
try:
97+
conf.dbmsConnector.connect()
98+
except NameError:
99+
pass
97100
else:
98101
conf.dbmsConnector.connect()
99102

0 commit comments

Comments
 (0)