From 1409d6c47017f6c52d0c56605570237890bfe3f8 Mon Sep 17 00:00:00 2001 From: benoitc Date: Sat, 5 Jan 2013 09:24:06 +0100 Subject: [PATCH] only display the program name, not the path --- gunicorn/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/config.py b/gunicorn/config.py index f1a0870b..93386e27 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -47,7 +47,7 @@ class Config(object): def __init__(self, usage=None, prog=None): self.settings = make_settings() self.usage = usage - self.prog = prog or sys.argv[0] + self.prog = prog or os.path.basename(sys.argv[0]) def __getattr__(self, name): if name not in self.settings: