mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-22 08:57:17 -06:00
[simple-business-create.py] Overwrite an existing file instead of crashing.
This commit is contained in:
parent
991f3d3a74
commit
17ebb8a1d2
@ -70,7 +70,7 @@ if len(argv) < 2:
|
||||
|
||||
|
||||
try:
|
||||
s = Session(argv[1], SessionOpenMode.SESSION_NEW_STORE)
|
||||
s = Session(argv[1], SessionOpenMode.SESSION_NEW_OVERWRITE)
|
||||
|
||||
book = s.book
|
||||
root = book.get_root_account()
|
||||
|
Loading…
Reference in New Issue
Block a user