diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2020-02-09 22:16:42 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2020-02-23 18:47:05 +0100 |
commit | c97e343118edcbdff323e03aa504cb19c5ff58f5 (patch) | |
tree | 255f258f6df16eb6596056701c043863fe345b54 | |
parent | 5766b9f7a0053f94106614e995166a21b94c5f8e (diff) | |
download | wee-slack-c97e343118edcbdff323e03aa504cb19c5ff58f5.tar.gz |
Use correct name for id in SlackSubteam.__eq__
-rw-r--r-- | wee_slack.py | 2 |
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): |