Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions googleapiclient/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ class MediaIoBaseDownload(object):
"""

@util.positional(3)
def __init__(self, fd, request, chunksize=DEFAULT_CHUNK_SIZE):
def __init__(self, fd, request, chunksize=DEFAULT_CHUNK_SIZE, start=0):
"""Constructor.

Args:
Expand All @@ -696,7 +696,7 @@ def __init__(self, fd, request, chunksize=DEFAULT_CHUNK_SIZE):
self._request = request
self._uri = request.uri
self._chunksize = chunksize
self._progress = 0
self._progress = start
self._total_size = None
self._done = False

Expand Down