Commit a6d37310 authored by Yunhua Koglin's avatar Yunhua Koglin
Browse files

clean up

parent 07cbeddf
......@@ -322,9 +322,6 @@ class AwsStorage(BlobStorageBase):
if isinstance(data, str):
return io.BytesIO(data.encode('utf-8'))
# if isinstance(data, io.TextIOWrapper):
# return io.BytesIO(data.encoding('utf-8'))
if isinstance(data, io.IOBase):
return data
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment