Merge pull request #1551 from tomjaguarpaw/patch-1

Remove redundant 'is not None'
This commit is contained in:
Randall Leeds 2017-07-26 15:05:40 -07:00 committed by GitHub
commit 9507ae4a09

View File

@ -193,7 +193,7 @@ class Application(BaseApplication):
util.daemonize(self.cfg.enable_stdio_inheritance)
# set python paths
if self.cfg.pythonpath and self.cfg.pythonpath is not None:
if self.cfg.pythonpath:
paths = self.cfg.pythonpath.split(",")
for path in paths:
pythonpath = os.path.abspath(path)