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/wsgiapp.py (#1558)
This commit is contained in:
parent
c77df25a84
commit
fc1e7a8262
@ -13,7 +13,7 @@ from gunicorn import util
|
||||
|
||||
class WSGIApplication(Application):
|
||||
def init(self, parser, opts, args):
|
||||
if opts.paste and opts.paste is not None:
|
||||
if opts.paste:
|
||||
app_name = 'main'
|
||||
path = opts.paste
|
||||
if '#' in path:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user