fixed small issue in launch logic

This commit is contained in:
iLLiCiTiT 2020-11-18 18:33:22 +01:00
parent 011508cfe0
commit ab943e7aaa

View file

@ -745,7 +745,7 @@ class ApplicationLaunchContext:
Returns:
subprocess.Popen: Created process as Popen object.
"""
if self.process is None:
if self.process is not None:
self.log.warning("Application was already launched.")
return