From e545dff22cd01635e96ae9793292ddd2dfbf7c13 Mon Sep 17 00:00:00 2001 From: Vincent Zeng Date: Sun, 31 Dec 2017 12:28:42 -0500 Subject: [PATCH] added update confirmation checker --- ttbp/ttbp.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ttbp/ttbp.py b/ttbp/ttbp.py index 5760f08..b04b2a5 100644 --- a/ttbp/ttbp.py +++ b/ttbp/ttbp.py @@ -233,9 +233,9 @@ def check_init(): ''' if not updated(): update_version() + else: + raw_input("press to explore your feels.\n\n") - ## when ready, enter main program and load core engine - raw_input("press to explore your feels.\n\n") core.load(SETTINGS) return "" @@ -1243,6 +1243,11 @@ something strange happened to you during this update. # version 0.10.2 patch notes print(config.UPDATES["0.10.2"]) + confirm = "" + + while confirm != "x": + confirm = raw_input("\nplease type when you've finished reading about the updates! ") + open(versionFile, "w").write(__version__) #####