Skip to content

Commit

Permalink
remove unneeded variable
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Apr 4, 2022
1 parent bdf32a7 commit a1d4401
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tqdm/contrib/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def __init__(self, token, channel):
"""Creates a new message in the given `channel`."""
super(SlackIO, self).__init__()
self.client = WebClient(token=token)
self.channel = channel
self.text = self.__class__.__name__
try:
self.message = self.client.chat_postMessage(channel=channel, text=self.text)
Expand Down

0 comments on commit a1d4401

Please sign in to comment.