Skip to content

Commit

Permalink
Switch type to m_type (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
ifmcnichols committed Dec 2, 2023
1 parent 19134d1 commit 09fb1db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slack_sdk/socket_mode/aiohttp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ async def receive_messages(self) -> None:
if self.logger.level <= logging.DEBUG:
# The following logging prints every single received message
# except empty message data ones.
type = WSMsgType(message.type)
message_type = type.name if type is not None else message.type
m_type = WSMsgType(message.type)
message_type = m_type.name if m_type is not None else message.type
message_data = message.data
if isinstance(message_data, bytes):
message_data = message_data.decode("utf-8")
Expand Down

0 comments on commit 09fb1db

Please sign in to comment.