From fe4319a197624829b4bb4c304e70f6373731c00a Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 13 Aug 2012 10:46:02 -0500 Subject: [PATCH] gnicorn fix, thanks Ander Arbelaiz --- VERSION | 2 +- anyserver.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index d0496564..807ebb88 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-08-12 10:38:38) dev +Version 2.00.0 (2012-08-13 10:45:57) dev diff --git a/anyserver.py b/anyserver.py index bd2fc39e..ed4a8a94 100644 --- a/anyserver.py +++ b/anyserver.py @@ -128,6 +128,7 @@ class Servers: from gunicorn.app.base import Application config = {'bind': "%s:%d" % address} config.update(options) + sys.argv = ['anyserver.py'] class GunicornApplication(Application): def init(self, parser, opts, args): return config