diff options
Diffstat (limited to 'kittystore/storm/__init__.py')
-rw-r--r-- | kittystore/storm/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kittystore/storm/__init__.py b/kittystore/storm/__init__.py index da1a56d..b7c7a92 100644 --- a/kittystore/storm/__init__.py +++ b/kittystore/storm/__init__.py @@ -39,8 +39,8 @@ def create_store(url, debug): if debug: storm.tracer.debug(True, stream=sys.stdout) database = create_database(url) - store = Store(database) dbtype = url.partition(":")[0] + store = Store(database) dbschema = Schema(schema.CREATES[dbtype], [], [], schema) dbschema.upgrade(store) return StormStore(store, debug) |