storj-thirdparty / uplink-python

Python bindings for libuplink
https://storj.io
Apache License 2.0
20 stars 10 forks source link

read_file creates empty files #13

Closed pigfrown closed 3 years ago

pigfrown commented 3 years ago

read_file is not writing to the file handle. The empty check on the "buf"output from read() is wrong. See pull request

https://github.com/storj-thirdparty/uplink-python/pull/12

kmozurkewich commented 3 years ago

@pigfrown - just merged PR. Can you confirm your issue is resolved?

Thanks!

pigfrown commented 3 years ago

Yep working for me now, thanks :)

kmozurkewich commented 3 years ago

sweeeet. thank you for the contrib!