Skip to content

Commit b43443d

Browse files
committed
Remove extra check.
1 parent ac92077 commit b43443d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wes_client/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def build_wes_request(workflow_file, json_path, attachments=None):
4040
("workflow_type", wf_type(workflow_file)),
4141
("workflow_type_version", wf_version(workflow_file))]
4242

43-
if workflow_file.startswith("file://") or '://' not in workflow_file:
43+
if workflow_file.startswith("file://"):
4444
parts.append(("workflow_attachment", (os.path.basename(workflow_file[7:]), open(workflow_file[7:], "rb"))))
4545
parts.append(("workflow_url", os.path.basename(workflow_file[7:])))
4646
else:

0 commit comments

Comments
 (0)