summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/soledad/server/gzip_middleware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/soledad/server/gzip_middleware.py b/src/leap/soledad/server/gzip_middleware.py
index c77f9f67..e6d73adb 100644
--- a/src/leap/soledad/server/gzip_middleware.py
+++ b/src/leap/soledad/server/gzip_middleware.py
@@ -33,7 +33,7 @@ class GzipMiddleware(object):
if 'gzip' not in environ.get('HTTP_ACCEPT_ENCODING', ''):
return self.app(environ, start_response)
- buffer = StringIO.StringIO()
+ buffer = StringIO()
output = GzipFile(
mode='wb',
compresslevel=self.compresslevel,