Style
This commit is contained in:
parent
8eb4354b4b
commit
d6b937d94b
@ -17,8 +17,7 @@ def active_shell_type(env=os.environ):
|
|||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
output = subprocess.check_output(
|
output = subprocess.check_output(
|
||||||
'powershell -Command "echo $PSVersionTable"',
|
'powershell -Command "echo $PSVersionTable"', universal_newlines=True
|
||||||
universal_newlines=True,
|
|
||||||
)
|
)
|
||||||
if "PSVersion" in output:
|
if "PSVersion" in output:
|
||||||
return "ps1"
|
return "ps1"
|
||||||
|
Loading…
Reference in New Issue
Block a user