Fix small typo

This commit is contained in:
painor 2019-08-19 18:46:09 +01:00 committed by GitHub
parent 4f7d8f3d60
commit 336f389f84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -573,7 +573,7 @@ class UploadMethods:
self._log[__name__].debug('Uploaded %d/%d',
part_index + 1, part_count)
if progress_callback:
r = progress_callback(f.tell(), file_size)
r = progress_callback(stream.tell(), file_size)
if inspect.isawaitable(r):
await r
else: