Remove redundant 'is not None'

This commit is contained in:
tomjaguarpaw 2017-07-22 20:05:55 +01:00 committed by GitHub
parent 56ef7710dd
commit 4f11708542

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)