diff options
-rwxr-xr-x | index.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3,7 +3,7 @@ import sys sys.path += ['/usr/lib/mailman'] -from web import template, form, application, ctx, wsgi +from web import template, form, application, ctx, wsgi, config from socket import gethostbyaddr, gethostbyname import re import Mailman.Utils @@ -107,6 +107,9 @@ class new: if __name__ == "__main__": + if not '--debug' in sys.argv: + config.debug = False + if '--fastcgi' in sys.argv: wsgi.runwsgi = lambda func, addr=None: wsgi.runfcgi(func, addr) |