Skip to content

Commit 2aff250

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 712994b commit 2aff250

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pydra/engine/audit.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,9 @@ def audit_task(self, task):
187187
cmd_name = command.split()[0]
188188
software = f"{cmd_name} --version"
189189
# take the first word of command as the name of the executable (this may not always be the case)
190-
version_cmd = sp.run(software, shell=True,
191-
stdout=sp.PIPE).stdout.decode("utf-8")
190+
version_cmd = sp.run(software, shell=True, stdout=sp.PIPE).stdout.decode(
191+
"utf-8"
192+
)
192193
try:
193194
version_cmd = version_cmd.splitlines()[0]
194195

0 commit comments

Comments
 (0)