Skip to content

Commit 5b0d98a

Browse files
cclaussowl-from-hogvarts
authored andcommitted
lib: remove unnecessary "else"
1 parent 7a6b5cc commit 5b0d98a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/find-python-script.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
import sys
2-
3-
if (sys.stdout.encoding != "utf-8" and sys.platform == "win32"):
2+
if sys.stdout.encoding != "utf-8" and sys.platform == "win32":
43
sys.stdout.reconfigure(encoding='utf-8')
5-
print(sys.executable)
6-
else:
7-
print(sys.executable)
4+
print(sys.executable)

0 commit comments

Comments
 (0)