Island: Fix mypy issues in mongo_db_process.py

This commit is contained in:
Kekoa Kaaikala 2022-09-21 18:24:47 +00:00
parent a5b5449f73
commit 1a6f48614e
1 changed files with 1 additions and 1 deletions

View File

@ -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