Merge pull request #85 from YoilyL/develop

fixed session mistake
This commit is contained in:
Dan 2018-06-13 18:53:59 +02:00 committed by GitHub
commit 2c23039637
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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