diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/db.py b/python/db.py index 1a074cb8..46c302be 100644 --- a/python/db.py +++ b/python/db.py @@ -47,7 +47,7 @@ def dbengine(dbname): query={'option_files': os.path.expanduser('~/.my.cnf')}) else: uri = "postgresql://{0}@debian/{1}".format(dbname[:-2] + '_user', - dbname) + dbname) return create_engine(uri, paramstyle="format") def with_connection(dbname): |
