aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2020-02-09 22:16:42 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2020-02-23 18:47:05 +0100
commitc97e343118edcbdff323e03aa504cb19c5ff58f5 (patch)
tree255f258f6df16eb6596056701c043863fe345b54
parent5766b9f7a0053f94106614e995166a21b94c5f8e (diff)
downloadwee-slack-c97e343118edcbdff323e03aa504cb19c5ff58f5.tar.gz
Use correct name for id in SlackSubteam.__eq__
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 1831958..9cfacf5 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1213,7 +1213,7 @@ class SlackSubteam(object):
return "Name:{} Identifier:{}".format(self.name, self.identifier)
def __eq__(self, compare_str):
- return compare_str == self.subteam_id
+ return compare_str == self.identifier
class SlackTeam(object):