mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Remove redundant "is not None" in gunicorn/app/base.py (#1557)
This commit is contained in:
parent
cf401982fd
commit
c77df25a84
@ -143,7 +143,7 @@ class Application(BaseApplication):
|
||||
cfg = self.init(parser, args, args.args)
|
||||
|
||||
# Load up the any app specific configuration
|
||||
if cfg and cfg is not None:
|
||||
if cfg:
|
||||
for k, v in cfg.items():
|
||||
self.cfg.set(k.lower(), v)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user