diff options
Diffstat (limited to 'dodai/config/databases/sa.py')
-rw-r--r-- | dodai/config/databases/sa.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dodai/config/databases/sa.py b/dodai/config/databases/sa.py index 21999c2..eaf35ea 100644 --- a/dodai/config/databases/sa.py +++ b/dodai/config/databases/sa.py | |||
@@ -15,7 +15,6 @@ | |||
15 | # You should have received a copy of the GNU General Public License | 15 | # You should have received a copy of the GNU General Public License |
16 | # along with Dodai. If not, see <http://www.gnu.org/licenses/>. | 16 | # along with Dodai. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | |||
19 | class Sa(object): | 18 | class Sa(object): |
20 | """Callable object that will wire up sqlalchemy engine and | 19 | """Callable object that will wire up sqlalchemy engine and |
21 | session objects | 20 | session objects |
@@ -74,7 +73,7 @@ class Sa(object): | |||
74 | out.append('+{section[protocol_extra]}') | 73 | out.append('+{section[protocol_extra]}') |
75 | out.append('://') | 74 | out.append('://') |
76 | if section.has_key('filename') and section['filename']: | 75 | if section.has_key('filename') and section['filename']: |
77 | out.append('{section[filename]}') | 76 | out.append('/{section[filename]}') |
78 | else: | 77 | else: |
79 | out.append('{section[username]}:{section[password]}@') | 78 | out.append('{section[username]}:{section[password]}@') |
80 | out.append('{section[hostname]}') | 79 | out.append('{section[hostname]}') |