-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
Description
More accurately, how am I supposed to handle a "file" that is really just a bunch of bytes?
Ideally, I would like to use a BinaryIO object, however, these don't have a name attribute, so I get this error:
File "/usr/local/lib/python3.5/site-packages/warcat/model/block.py", line 83, in load
binary_block.set_file(file_obj.name or file_obj, file_obj.tell(), length)
AttributeError: '_io.BytesIO' object has no attribute 'name'
I'm not sure how to get around this.
Reactions are currently unavailable