From 038ae7a86c32c27df60ef40af8e1ba9f4fc43f1b Mon Sep 17 00:00:00 2001 From: benoitc Date: Sun, 21 Apr 2013 07:03:59 +0200 Subject: [PATCH] add dd ``python -m gunicorn.app.wsgiapp``` support fix #493 --- gunicorn/app/wsgiapp.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gunicorn/app/wsgiapp.py b/gunicorn/app/wsgiapp.py index 4ef27ef5..c473326e 100644 --- a/gunicorn/app/wsgiapp.py +++ b/gunicorn/app/wsgiapp.py @@ -34,3 +34,7 @@ def run(): """ from gunicorn.app.wsgiapp import WSGIApplication WSGIApplication("%(prog)s [OPTIONS] APP_MODULE").run() + + +if __name__ == '__main__': + run()