Skip to content

Commit

Permalink
Update lib/find-python-script.py
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Clauss <[email protected]>
  • Loading branch information
owl-from-hogvarts and cclauss authored Nov 6, 2020
1 parent c921c42 commit 9ecaeac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/find-python-script.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
print(sys.executable.decode("cp1251"));

0 comments on commit 9ecaeac

Please sign in to comment.