Skip to content

Commit 9ecaeac

Browse files
Update lib/find-python-script.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent c921c42 commit 9ecaeac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/find-python-script.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
sys.stdout = codecs.getwriter("utf8")(sys.stdout)
88

99

10-
if (sys.version_info[0] >= 3) and (sys.version_info[1] >= 7):
10+
if sys.version_info >= (3, 7):
1111
print(sys.executable)
1212
else:
13-
print(sys.executable.decode("cp1251"));
13+
print(sys.executable.decode("cp1251"));

0 commit comments

Comments
 (0)