mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Use text=True instead of decode() in prepare.py
This commit is contained in:
parent
23e1c6128b
commit
efa287b786
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ win:
|
|||
""", 'ThirdParty')
|
||||
|
||||
stage('python', """
|
||||
version: """ + (subprocess.run(['python', '-V'], capture_output=True, env=modifiedEnv).stdout.decode().strip().split()[-1] if win else '0') + """
|
||||
version: """ + (subprocess.run(['python', '-V'], capture_output=True, text=True, env=modifiedEnv).stdout.strip().split()[-1] if win else '0') + """
|
||||
win:
|
||||
python -m venv python
|
||||
python\\Scripts\\activate.bat
|
||||
|
|
Loading…
Add table
Reference in a new issue