Skip to content

Commit

Permalink
Merge pull request #231 from girder/cli-inspection
Browse files Browse the repository at this point in the history
Use an array rather than a string for container commands
  • Loading branch information
manthey authored Mar 7, 2024
2 parents 80e0f04 + ea9d937 commit 1006200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slicer_cli_web/image_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def getCliData(name, client, job):

for key, info in cli_dict.items():
desc_type = info.get('desc-type', 'xml')
cli_desc = getDockerOutput(name, '%s --%s' % (key, desc_type), client)
cli_desc = getDockerOutput(name, [key, f'--{desc_type}'], client)

if isinstance(cli_desc, bytes):
cli_desc = cli_desc.decode('utf8')
Expand Down

0 comments on commit 1006200

Please sign in to comment.