Skip to content

Commit 87cad53

Browse files
author
Peter Amstutz
committed
Handle empty attachments
1 parent 2b8cc4b commit 87cad53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wes_client/wes_client_main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def main(argv=sys.argv[1:]):
8686
else:
8787
logging.basicConfig(level=logging.INFO)
8888

89-
args.attachments = args.attachments if not args.attachments else args.attachments.split(',')
89+
args.attachments = "" if not args.attachments else args.attachments.split(',')
9090
r = client.run(args.workflow_url, args.job_order, args.attachments)
9191

9292
if args.wait:

0 commit comments

Comments
 (0)