human_curl icon indicating copy to clipboard operation
human_curl copied to clipboard

TypeError: not all arguments converted during string formatting

Open Lyuk opened this issue 9 years ago • 0 comments

this is code ;

url = 'http://httpbin.org/post' files = {'file': ('report.csv', 'some,data,to,send\nanother,row,to,send\n')} r = requests.post(url, files=files)

this is error: File "D:\Python27\lib\site-packages\human_curl\utils.py", line 306, in make_curl_post_files result.append((k, checker(k2))) File "D:\Python27\lib\site-packages\human_curl\utils.py", line 297, in checker raise RuntimeError("File %s doesn't exist" % v) TypeError: not all arguments converted during string formatting

not requests compatibility ?

Lyuk avatar Oct 10 '16 00:10 Lyuk