mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #1551 from tomjaguarpaw/patch-1
Remove redundant 'is not None'
This commit is contained in:
commit
9507ae4a09
@ -193,7 +193,7 @@ class Application(BaseApplication):
|
|||||||
util.daemonize(self.cfg.enable_stdio_inheritance)
|
util.daemonize(self.cfg.enable_stdio_inheritance)
|
||||||
|
|
||||||
# set python paths
|
# set python paths
|
||||||
if self.cfg.pythonpath and self.cfg.pythonpath is not None:
|
if self.cfg.pythonpath:
|
||||||
paths = self.cfg.pythonpath.split(",")
|
paths = self.cfg.pythonpath.split(",")
|
||||||
for path in paths:
|
for path in paths:
|
||||||
pythonpath = os.path.abspath(path)
|
pythonpath = os.path.abspath(path)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user