Say that the bank is seeded too
This commit is contained in:
1 parent
c48a276062
commit
e380cd8329
1 file changed
+2
-2
+2
-2
@@ -48,8 +48,8 @@ def connect(path=None):
|
|||||||
"""Open a connection with foreign keys on and WAL journaling.
|
"""Open a connection with foreign keys on and WAL journaling.
|
||||||
|
|
||||||
A fresh database is made ready here: the schema is applied and the default
|
A fresh database is made ready here: the schema is applied and the default
|
||||||
settings and rates are seeded. Both steps are idempotent, so a caller never
|
settings, the rates and the bank are seeded. Both steps are idempotent, so a
|
||||||
has to know whether the file was empty.
|
caller never has to know whether the file was empty.
|
||||||
"""
|
"""
|
||||||
resolved = path or database_path()
|
resolved = path or database_path()
|
||||||
if resolved != ":memory:":
|
if resolved != ":memory:":
|
||||||
|
|||||||
Reference in new issue
Block a user