dbapi.py
changeset 9309 cd45a1cc9b38
parent 9255 46f41c3e1443
parent 9297 9a44436cd5a5
child 9396 e83cbc116352
--- a/dbapi.py	Tue Oct 22 11:59:39 2013 +0200
+++ b/dbapi.py	Thu Oct 24 12:36:12 2013 +0200
@@ -223,7 +223,7 @@
     puri = urlparse(database)
     method = puri.scheme.lower()
     if method == 'inmemory':
-        config = cwconfig.instance_configuration(puri.path)
+        config = cwconfig.instance_configuration(puri.netloc)
     else:
         config = cwconfig.CubicWebNoAppConfiguration()
     repo = get_repository(database, config=config)