fix chunk
This commit is contained in:
parent
af0f818326
commit
8e96284595
1 changed files with 1 additions and 1 deletions
|
@ -1164,7 +1164,7 @@ class API(ox.API):
|
||||||
form['done'] = '1'
|
form['done'] = '1'
|
||||||
form['offset'] = str(done)
|
form['offset'] = str(done)
|
||||||
files = [
|
files = [
|
||||||
('file', (fname, chunk, mimetype))
|
('chunk', (fname, chunk, mimetype))
|
||||||
]
|
]
|
||||||
try:
|
try:
|
||||||
data = self._json_request(uploadUrl, form, files)
|
data = self._json_request(uploadUrl, form, files)
|
||||||
|
|
Loading…
Reference in a new issue