fix import
This commit is contained in:
parent
b7a18203ac
commit
9e3c8291b6
1 changed files with 1 additions and 1 deletions
|
@ -6,6 +6,7 @@ import gzip
|
|||
import os
|
||||
import shutil
|
||||
import sys
|
||||
import time
|
||||
|
||||
from six.moves import http_cookiejar as cookielib
|
||||
from six import BytesIO, PY2
|
||||
|
@ -160,7 +161,6 @@ class API(object):
|
|||
f = open(filename, 'rb')
|
||||
fsize = os.stat(filename).st_size
|
||||
done = 0
|
||||
start = time.mktime(time.localtime())
|
||||
if 'offset' in data and data['offset'] < fsize:
|
||||
done = data['offset']
|
||||
f.seek(done)
|
||||
|
|
Loading…
Reference in a new issue