fix: code style

This commit is contained in:
David Arnold 2023-11-17 09:30:53 +01:00
parent 5b33608fe3
commit 9228cd70f8
No known key found for this signature in database
GPG key ID: AB15A6AF1101390D

View file

@ -447,7 +447,7 @@ def execute_in_shell(cmd, verbose=False, low_priority=False, check_exit_code=Fal
import tempfile
from subprocess import Popen
if type(cmd) is list:
if isinstance(cmd, list):
# ensure it's properly escaped; only a single string argument executes via shell
cmd = shlex.join(cmd)