mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use text=True instead of decode() in prepare.py
This commit is contained in:
@@ -419,7 +419,7 @@ win:
|
|||||||
""", 'ThirdParty')
|
""", 'ThirdParty')
|
||||||
|
|
||||||
stage('python', """
|
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:
|
win:
|
||||||
python -m venv python
|
python -m venv python
|
||||||
python\\Scripts\\activate.bat
|
python\\Scripts\\activate.bat
|
||||||
|
Reference in New Issue
Block a user