From 17ebb8a1d2563c93fd585debcdd5360f0d311784 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Mon, 11 Sep 2023 17:39:02 -0700 Subject: [PATCH] [simple-business-create.py] Overwrite an existing file instead of crashing. --- bindings/python/example_scripts/simple_business_create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/example_scripts/simple_business_create.py b/bindings/python/example_scripts/simple_business_create.py index 029a4f5300..01a38cbc7a 100644 --- a/bindings/python/example_scripts/simple_business_create.py +++ b/bindings/python/example_scripts/simple_business_create.py @@ -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()