mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-04 15:49:57 +01:00
edit packet.py
This commit is contained in:
parent
a955058edd
commit
8e670f86fc
|
|
@ -93,11 +93,10 @@ class Packet:
|
|||
self.set("serverBuildDate", version.date)
|
||||
self.set("serverBranch", version.branch)
|
||||
|
||||
@staticmethod
|
||||
def infoToLog(bwPacket):
|
||||
def infoToLog(self):
|
||||
"""!Print a info message to the log on INFO level.
|
||||
Contains the most useful info about this packet.
|
||||
@todo not complete yet - must be edit to print nice formatted messages on console
|
||||
|
||||
@param bwPacket: BOSWatch packet instance"""
|
||||
logging.info("%s packet received", bwPacket.get("mode"))
|
||||
logging.info("%s packet received", self.get("mode"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue