From ccebb647f940860922dd57cecb9f80cf8fb7199b Mon Sep 17 00:00:00 2001 From: ionburger Date: Sat, 29 Oct 2022 12:32:37 -0600 Subject: [PATCH] eee --- py/VERSION | 2 +- py/init.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/py/VERSION b/py/VERSION index 5625e59..23aa839 100644 --- a/py/VERSION +++ b/py/VERSION @@ -1 +1 @@ -1.2 +1.2.2 diff --git a/py/init.py b/py/init.py index e0bf815..887d37b 100644 --- a/py/init.py +++ b/py/init.py @@ -1,5 +1,9 @@ import version +import sys +import os if version.local() < version.remote(): print("needs update") else: print("is fine") +if input("aaa") == "y": + os.execl(sys.executable, sys.executable, *sys.argv)