mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 19:20:09 +03:00
Fix small typo
This commit is contained in:
parent
4f7d8f3d60
commit
336f389f84
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user