--- a/scripts/install.py Mon Jul 25 16:58:55 2022 +0200 +++ b/scripts/install.py Fri Sep 02 14:07:46 2022 +0200 @@ -1541,12 +1541,16 @@ @rtype bool """ try: - pipOut = subprocess.run( # secok - [sys.executable, "-m", "pip", "list", "--outdated", "--format=json"], - check=True, - capture_output=True, - text=True, - ).stdout.strip().splitlines()[0] + pipOut = ( + subprocess.run( # secok + [sys.executable, "-m", "pip", "list", "--outdated", "--format=json"], + check=True, + capture_output=True, + text=True, + ) + .stdout.strip() + .splitlines()[0] + ) # only the first line contains the JSON data except (OSError, subprocess.CalledProcessError): pipOut = "[]" # default empty list