mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
We need at least one argument for the WSGIApplication fix #815
This commit is contained in:
parent
4b1cbe6a37
commit
2e8db50989
@ -31,7 +31,7 @@ class WSGIApplication(Application):
|
||||
from .pasterapp import paste_config
|
||||
return paste_config(self.cfg, self.cfgurl, self.relpath)
|
||||
|
||||
if len(args) != 1:
|
||||
if len(args) < 1:
|
||||
parser.error("No application module specified.")
|
||||
|
||||
self.cfg.set("default_proc_name", args[0])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user