Skip to content

Commit

Permalink
handle --form with set() - was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Feb 9, 2024
1 parent 719c1f9 commit 10455f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CloudFlare/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def build_curl(method, url, headers, params, data_str, data_json, files):
msg.append(' --form %s="%s" \\' % (k, v[0]))
else:
msg.append(' --form %s="%s" \\' % (k,v))
elif isinstance(files, (list, tuple)):
elif isinstance(files, (set, list, tuple)):
for f in files:
if isinstance(f, (list, tuple)):
if f[1][0] is None:
Expand Down

0 comments on commit 10455f3

Please sign in to comment.