Skip to content

Commit

Permalink
CMClient: move _LOG attr to class level
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed Sep 3, 2019
1 parent a2d79a0 commit b47f267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion steam/core/cm.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class CMClient(EventEmitter):
EVENT_EMSG = 0
"""All incoming messages are emitted with their :class:`.EMsg` number.
"""
_LOG = logging.getLogger("CMClient")

PROTOCOL_TCP = 0 #: TCP protocol enum
PROTOCOL_UDP = 1 #: UDP protocol enum
Expand All @@ -80,7 +81,6 @@ class CMClient(EventEmitter):
_LOG = None

def __init__(self, protocol=PROTOCOL_TCP):
self._LOG = logging.getLogger("CMClient")
self.cm_servers = CMServerList()

if protocol == CMClient.PROTOCOL_TCP:
Expand Down

0 comments on commit b47f267

Please sign in to comment.