scripts/install.py

branch
eric7
changeset 9261
66cc5e304450
parent 9231
d92a18dffa5e
child 9264
18a7312cfdb3
child 9278
36448ca469c2
diff -r eb19dcb8d852 -r 66cc5e304450 scripts/install.py
--- a/scripts/install.py	Thu Jul 21 14:10:54 2022 +0200
+++ b/scripts/install.py	Thu Jul 21 14:15:36 2022 +0200
@@ -1546,7 +1546,8 @@
             check=True,
             capture_output=True,
             text=True,
-        ).stdout
+        ).stdout.strip().splitlines()[0]
+        # only the first line contains the JSON data
     except (OSError, subprocess.CalledProcessError):
         pipOut = "[]"  # default empty list
     try:

eric ide

mercurial