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"));