diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2010-07-18 15:21:51 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2010-07-18 15:21:51 -0500 |
commit | bda3405342feb7f239ccaa2e7cebe76a48909309 (patch) | |
tree | 4350476d4c4989863d3b61d88590373d39fdbcb7 /mediagoblin/app.py | |
parent | fbf7880e6873a541da5f45f90d9e0fd31119514a (diff) | |
download | mediagoblin-bda3405342feb7f239ccaa2e7cebe76a48909309.tar.lz mediagoblin-bda3405342feb7f239ccaa2e7cebe76a48909309.tar.xz mediagoblin-bda3405342feb7f239ccaa2e7cebe76a48909309.zip |
Still totally useless but at least it writes to the database
Diffstat (limited to 'mediagoblin/app.py')
-rw-r--r-- | mediagoblin/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/app.py b/mediagoblin/app.py index 7231b786..ef4feae3 100644 --- a/mediagoblin/app.py +++ b/mediagoblin/app.py @@ -64,7 +64,7 @@ class MediagoblinApp(object): def paste_app_factory(global_config, **kw): connection = pymongo.Connection() - db = kw.get('db_name', 'mediagoblin') + db = connection[kw.get('db_name', 'mediagoblin')] return MediagoblinApp( db, |