forked from p15670423/monkey
Island: Fix mypy issues in mongo_db_process.py
This commit is contained in:
parent
0578219549
commit
5f3d757965
|
@ -49,7 +49,7 @@ class MongoDbProcess:
|
|||
self._process.kill()
|
||||
|
||||
def is_running(self) -> bool:
|
||||
if self._process.poll() is None:
|
||||
if self._process and self._process.poll() is None:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue