--- a/scripts/install.py Thu Jul 28 19:44:54 2022 +0200 +++ b/scripts/install.py Fri Jul 29 16:29:31 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