Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ableytner committed Oct 6, 2024
1 parent f5f1178 commit 9ca4766
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mcserverwrapper/src/server/base_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ def kill(self):
if sys.platform == "win32":
os.system(f"taskkill /pid {self._child.pid} /f")
else:
# pylint: disable-next=no-member
self._child.kill(signal.SIGKILL)

if self.get_child_status(30) is None:
logger.log("Server did not stop")
logger.log("We're running out of options, maybe try manually killing the server?")
Expand Down

0 comments on commit 9ca4766

Please sign in to comment.