Uploading avatar using BytesIO(bytes_object) fails without raising an exception #566
Open
3 tasks done
Labels
bug
Something isn't working
Summary
While it is possible to edit one's avatar using a file written on disk, it's not possible to pass a file-like buffer
Reproduction Steps
Expected Results
Set my avatar on steam, or at least raise an exception if it fails.
Actual Results
It does not raise an exception, but this appears in the DEBUG logs:
Writing the same bytes to a file on disk and passing the path to this file instead of the
BytesIO
object works as intendedSystem Information
python version: 3.11.2
steam.py version: 1.0.1
aiohttp version: 3.9.5
betterproto version: 2.0.0b6
operating system info: Linux-6.6.13+bpo-amd64-x86_64-with-glibc2.36
Checklist
The text was updated successfully, but these errors were encountered: