Fix unwanted space in Python version (#401)

Before:

```
Python: Python 3.13.2 [Clang 16.0.0 ]
```

After:

```
Python: Python 3.13.2 [Clang 16.0.0]
```
This commit is contained in:
Paul
2025-04-06 07:02:46 +02:00
committed by GitHub
parent 2cfea54a88
commit 45ee7e199e
+1 -1
View File
@@ -4579,7 +4579,7 @@ get_python_ver() {
if command -v python &> /dev/null; then
python_ver=$(python -VVV)
python_ver=${python_ver//$'\n'/}
python_ver=${python_ver//\(+([^\)])\)}
python_ver=${python_ver//+([[:space:]])\(+([^\)])\)}
python_ver=$(echo "$python_ver" | awk '$1=$1')
fi
}