Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit 1fce42c

Browse files
committed
fix the loading of default connection
1 parent 6cfd03f commit 1fce42c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SQLTools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def createConnection(name, config, settings):
9595

9696

9797
def loadDefaultConnection():
98-
default = settings.get('default', False)
98+
default = connections.get('default', False)
9999
if not default:
100100
return
101101
Log('Default database set to ' + default + '. Loading options and auto complete.')

0 commit comments

Comments
 (0)