resume fail
This commit is contained in:
parent
036f5b1c9b
commit
59151b04fd
1 changed files with 1 additions and 0 deletions
|
@ -563,6 +563,7 @@ class API(ox.API):
|
||||||
|
|
||||||
def upload_chunks(self, url, filename, data=None):
|
def upload_chunks(self, url, filename, data=None):
|
||||||
form = ox.MultiPartForm()
|
form = ox.MultiPartForm()
|
||||||
|
resume = None
|
||||||
if os.path.exists(self._resume_file):
|
if os.path.exists(self._resume_file):
|
||||||
with open(self._resume_file) as f:
|
with open(self._resume_file) as f:
|
||||||
resume = json.load(f)
|
resume = json.load(f)
|
||||||
|
|
Loading…
Reference in a new issue