[simple-business-create.py] Overwrite an existing file instead of crashing.

This commit is contained in:
John Ralls 2023-09-11 17:39:02 -07:00
parent 991f3d3a74
commit 17ebb8a1d2

View File

@ -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()