From 1b0e21b95a964183211160a263228f169eff729b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Borgstr=C3=B6m?= Date: Thu, 10 Jul 2014 15:44:29 +0200 Subject: [PATCH] Fixed typo --- attic/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attic/archive.py b/attic/archive.py index c68e6c693..c93c1886a 100644 --- a/attic/archive.py +++ b/attic/archive.py @@ -61,7 +61,7 @@ class ChunkBuffer: BUFFER_SIZE = 1 * 1024 * 1024 def __init__(self, key): - self.buffer = BytesIO().write + self.buffer = BytesIO() self.packer = msgpack.Packer(unicode_errors='surrogateescape') self.chunks = [] self.key = key