jum4 / sublime-sqlexec

A Plugin for running SQL commands in Sublime Text
http://lubriciousdevelopers.github.io/projects/sublime-sql-exec
98 stars 48 forks source link

Check if 'password' is in the connection setting and add it #54

Closed lordn-n closed 9 years ago

lordn-n commented 9 years ago

When not set the "password" in the settings of the connection, it returned:

Traceback (most recent call last):
  File "SQLExec in ~/.config/sublime-text-3/Installed Packages/SQLExec.sublime-package", line 140, in sqlChangeConnection
  File "SQLExec in ~/.config/sublime-text-3/Installed Packages/SQLExec.sublime-package", line 120, in __init__
KeyError: 'password'

Because it's always requiered, but for psql connections is not completly required

jum4 commented 9 years ago

Hi,

Thank for you help !