dbapi.py
branchstable
changeset 9297 9a44436cd5a5
parent 8992 55a1567d92a0
child 9309 cd45a1cc9b38
child 9355 19ab31ea6ffb
--- a/dbapi.py	Thu Oct 10 13:16:54 2013 +0200
+++ b/dbapi.py	Thu Oct 17 10:30:35 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)