We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba0ca81 commit aaccb8eCopy full SHA for aaccb8e
modules/block_requests.py
@@ -62,7 +62,7 @@ def my_open(*args, **kwargs):
62
b'\n </head>'
63
)
64
65
- return io.BytesIO(file_contents.decode()) # return bytes
+ return io.BytesIO(file_contents) # return bytes
66
else:
67
return original_open(*args, **kwargs)
68
0 commit comments