erp, connection[database_path] not connection['database_path'] obviously :P
This commit is contained in:
parent
2e30e3690a
commit
65d7374c37
@ -28,7 +28,7 @@ class MediagoblinApp(object):
|
||||
def __init__(self, connection, database_path, user_template_path=None):
|
||||
self.template_env = util.get_jinja_env(user_template_path)
|
||||
self.connection = connection
|
||||
self.db = connection['database_path']
|
||||
self.db = connection[database_path]
|
||||
self.routing = routing.get_mapper()
|
||||
|
||||
models.register_models(connection)
|
||||
|
Loading…
x
Reference in New Issue
Block a user