Skip to content

Commit 50eca8f

Browse files
committed
style: fix flake8 errors
1 parent 88ce2c1 commit 50eca8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wes_client/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def build_wes_request(workflow_file, json_path, attachments=None):
110110
wf_params = json.dumps(json.load(f))
111111
elif json_path.startswith("http"):
112112
wf_params = modify_jsonyaml_paths(json_path)
113-
else:
113+
else:
114114
wf_params = json_path
115115
wf_version, wf_type = wf_info(workflow_file)
116116

@@ -127,7 +127,7 @@ def build_wes_request(workflow_file, json_path, attachments=None):
127127
if attachments:
128128
for attachment in attachments:
129129
if attachment.startswith("file://"):
130-
attachment = attachment[7:]
130+
attachment = attachment[7:]
131131
attach_f = open(attachment, "rb")
132132
elif attachment.startswith("http"):
133133
attach_f = urlopen(attachment)

0 commit comments

Comments
 (0)