fixed session mistake
use new session when uploading files instead of main session
This commit is contained in:
parent
244b4f15ce
commit
2944181b38
@ -1051,7 +1051,7 @@ class Client(Methods, BaseClient):
|
||||
bytes=chunk
|
||||
)
|
||||
|
||||
assert self.send(rpc), "Couldn't upload file"
|
||||
assert session.send(rpc), "Couldn't upload file"
|
||||
|
||||
if is_missing_part:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user