From 9ecaeac734d17501db1e046444cd4c7a035ce59b Mon Sep 17 00:00:00 2001 From: owl from hogvarts <47751812+owl-from-hogvarts@users.noreply.github.com> Date: Fri, 6 Nov 2020 19:59:02 +0300 Subject: [PATCH] Update lib/find-python-script.py Co-authored-by: Christian Clauss --- lib/find-python-script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/find-python-script.py b/lib/find-python-script.py index 96e468d436..ff31dae01c 100644 --- a/lib/find-python-script.py +++ b/lib/find-python-script.py @@ -7,7 +7,7 @@ sys.stdout = codecs.getwriter("utf8")(sys.stdout) -if (sys.version_info[0] >= 3) and (sys.version_info[1] >= 7): +if sys.version_info >= (3, 7): print(sys.executable) else: - print(sys.executable.decode("cp1251")); \ No newline at end of file + print(sys.executable.decode("cp1251"));