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