Corrected failure to return data
parent
0f0c4996f1
commit
8348c3545b
|
@ -209,6 +209,8 @@ class Base64IO(io.IOBase):
|
|||
|
||||
self.bytes_counter += len(chunk)
|
||||
|
||||
return len(chunk)
|
||||
|
||||
def write(self, b, line_length=76):
|
||||
# type: (bytes) -> int
|
||||
"""Base64-encode the bytes and write them to the wrapped stream.
|
||||
|
|
Loading…
Reference in New Issue