Lispython / human_curl

Simple Human wrapper for cURL library
http://h.wrttn.me/human_curl
Other
205 stars 43 forks source link

TypeError: not all arguments converted during string formatting #48

Open Lyuk opened 8 years ago

Lyuk commented 8 years ago

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 ?