diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/db.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/db.py b/python/db.py index 2c830ab4..08b65b37 100644 --- a/python/db.py +++ b/python/db.py @@ -10,9 +10,9 @@ def dbconn(dbname): else: user_name = dbname[:-2] + '_user' return psycopg2.connect(database=dbname, - user=user_name, - host="debian", - cursor_factory=DictCursor) + user=user_name, + host="debian", + cursor_factory=DictCursor) def dbengine(dbname): uri = "postgresql://{0}@debian/{1}".format(dbname[:-2] + '_user', |
