Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
Merge pull request #10 from cyberjacob/master
Browse files Browse the repository at this point in the history
Add port setting from settings_dict to connection_params
  • Loading branch information
aaugustin committed Sep 4, 2015
2 parents a23e7ff + edaf60c commit d15752f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sqlserver_pymssql/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def get_connection_params(self):
'database': settings_dict['NAME'],
'user': settings_dict['USER'],
'password': settings_dict['PASSWORD'],
'port': settings_dict['PORT'],
}
options = settings_dict.get('OPTIONS', {})
params.update(options)
Expand Down

0 comments on commit d15752f

Please sign in to comment.