diff --git a/app/classes/shared/server.py b/app/classes/shared/server.py index 00bbe720..c770bf5d 100644 --- a/app/classes/shared/server.py +++ b/app/classes/shared/server.py @@ -138,7 +138,7 @@ class Server: logger.info("Server {} running with PID {}".format(self.name, self.PID)) console.info("Server {} running with PID {}".format(self.name, self.PID)) self.is_crashed = False - stats.record_stats() + self.stats.record_stats() else: logger.warning("Server PID {} died right after starting - is this a server config issue?".format(self.PID)) console.warning("Server PID {} died right after starting - is this a server config issue?".format(self.PID))