removed thing

This commit is contained in:
Pünkösd Marcell 2020-03-25 04:06:41 +01:00
parent 33311e752a
commit 5145c70cf4

View File

@ -4,10 +4,9 @@ import os.path
import json import json
FILE = '/home/marcsello/CommonStarling_102761_45.wav' FILE = '/home/marcsello/CommonStarling_102761_45.wav'
TAG = 'nigga' TAG = 'test'
#(filename, data, content_type, headers) # Files structure: (filename, data, content_type, headers)
#{'file': ('report.xls', open('report.xls', 'rb'), 'application/vnd.ms-excel', {'Expires': '0'})}
files = { files = {
"soundFile": (os.path.basename(FILE), open(FILE,'rb').read(), 'audio/wave', {'Content-length' : os.path.getsize(FILE)}), "soundFile": (os.path.basename(FILE), open(FILE,'rb').read(), 'audio/wave', {'Content-length' : os.path.getsize(FILE)}),