[web] no more needed with the bytes option type
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 19 Apr 2010 15:31:24 +0200
changeset 5330 19bc44f5f9d1
parent 5329 a8cd0570e3d6
child 5331 f7ee75da6102
[web] no more needed with the bytes option type
etwist/server.py
--- a/etwist/server.py	Mon Apr 19 15:30:48 2010 +0200
+++ b/etwist/server.py	Mon Apr 19 15:31:24 2010 +0200
@@ -119,7 +119,7 @@
         self.static_directories = set(('data%s' % config.instance_md5_version(),
                                        'data', 'static', 'fckeditor'))
         global MAX_POST_LENGTH
-        MAX_POST_LENGTH = config['max-post-length'] * 1024 * 1024
+        MAX_POST_LENGTH = config['max-post-length']
 
     def init_publisher(self):
         config = self.config