mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
fixed session mistake
use new session when uploading files instead of main session
This commit is contained in:
parent
244b4f15ce
commit
2944181b38
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue