Skip to content

Commit

Permalink
Fixes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ribalba committed Aug 31, 2023
1 parent a55d778 commit 553e305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,8 @@ def update_and_insert_specs(self):

if len(hardware_info_root.get_root_list()) > 0:
python_file = os.path.abspath(os.path.join(CURRENT_DIR, 'lib/hardware_info_root.py'))
ps = subprocess.run(['sudo', '/usr/bin/env python3', python_file],
stdout=subprocess.PIPE, check=True, encoding='UTF-8')
ps = subprocess.run([f"sudo /usr/bin/env python3 {python_file}"],
stdout=subprocess.PIPE, check=True, encoding='UTF-8', shell=True)
machine_specs_root = json.loads(ps.stdout)

machine_specs.update(machine_specs_root)
Expand Down

0 comments on commit 553e305

Please sign in to comment.